mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
There are almost no behavioral changes. Because `dart test` runs with assertions, and the former command does not, I had to tweak some of the engine tool tests because they would assert that there were duplicate names - but I didn't change any actual code besides the test expectations themselves/the fixtures. This is not all of the engine, but is approximately 1/3 of all imports of `package:litetest` migrated.
dir_contents_diff
This tool will compare the contents of a directory to a file that lists the contents of the directory, printing out a patch to apply if they differ.
The exit code is 0 if there is no difference.
Usage
dart run ./bin/dir_contents_diff.dart <golden file path> <dir path>