Account for additional warning text from the tool (#88902)

This commit is contained in:
Zachary Anderson 2021-08-25 14:55:42 -07:00 committed by GitHub
parent 125451bc2e
commit cff3db1d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -508,7 +508,9 @@ void main() {
logging: false, logging: false,
); );
expect(result.exitCode, 0); expect(result.exitCode, 0);
expect(result.stdout, <Object>[ // TODO(sigurdm): Remove the filter when
// https://github.com/flutter/flutter/pull/88792 is relanded.
expect(result.stdout.where((String line) => !line.startsWith('"The top level `pub.bat` command is deprecated.')), <Object>[
startsWith('Performing hot reload...'), startsWith('Performing hot reload...'),
'', '',
'══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════', '══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════',