When running tests with --preview-dart-2 check for compilation errors. (#14724)
If compiler failed to produce Kernel binary then compile(...) returns null to the caller. If we don't check for null we end up trying to run file called "null" which causes a very confusing crash of the flutter_tester.
Showing
Please register or sign in to comment