Reland filesystem options support with fix for Windows test. (#15655)
* Revert "Revert "Reland pass filesystem options (#15622)" (#15651)"
This reverts commit 0f3eada066.
* Fix for windows failing test
* !isEmpty -> isNotEmpty
This commit is contained in:
committed by
GitHub
parent
298f4efc54
commit
43284d70d9
@@ -227,7 +227,7 @@ Future<Null> _recompile(StreamController<List<int>> streamController,
|
||||
final String output = await generator.recompile(null /* mainPath */, <String>['/path/to/main.dart']);
|
||||
expect(output, equals('/path/to/main.dart.dill'));
|
||||
final String commands = mockFrontendServerStdIn.getAndClear();
|
||||
final RegExp re = new RegExp(r'^recompile (.*)\n/path/to/main.dart\n(.*)\n$');
|
||||
final RegExp re = new RegExp('^recompile (.*)\\n/path/to/main.dart\\n(.*)\\n\$');
|
||||
expect(commands, matches(re));
|
||||
final Match match = re.firstMatch(commands);
|
||||
expect(match[1] == match[2], isTrue);
|
||||
|
||||
Reference in New Issue
Block a user