Add Flutter-repo-specific golden comparator (#17205)

In order to avoid checking binaries into flutter/flutter,
this comparator can be used to retrieve golden files from
a sibling flutter/goldens repository.

https://github.com/flutter/flutter/issues/16859
This commit is contained in:
Todd Volkert
2018-05-03 07:39:41 -07:00
committed by GitHub
parent 50afda01e1
commit 65079ad5f2
12 changed files with 482 additions and 35 deletions

View File

@@ -685,9 +685,7 @@ void main() {
);
if (testConfigFile != null) {
buffer.write('''
return () {
test_config.main(test.main);
};
return () => test_config.main(test.main);
''');
} else {
buffer.write('''