Fix+unskip flutter test expression eval tests (#26579)

* Fix `flutter test`e xpression eval tests

We weren't passing `beforeStart` through so the breakpoints were never being set, which means the evaluations were happening while the code was running.

* Ensure we wait for breakpoints before trying to evaluate
This commit is contained in:
Danny Tuppeny
2019-01-15 15:39:35 +00:00
committed by GitHub
parent c713ef971e
commit fda193aa5d
3 changed files with 6 additions and 3 deletions

View File

@@ -51,5 +51,5 @@ class TestsProject extends Project {
Uri get breakpointUri => Uri.file(testFilePath);
@override
int get breakpointLine => lineContaining(main, '// BREAKPOINT');
int get breakpointLine => lineContaining(testContent, '// BREAKPOINT');
}