forked from firka/flutter
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:
@@ -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('''
|
||||
|
||||
Reference in New Issue
Block a user