[flutter_tools] Add support for URI formats like ?line=x for "flutter test" (#119740)
* [flutter_tools] Add support for URI formats like ?line=x for "flutter test" * Remove unnecessary function * Handle parsing absolute paths on Windows * Use Windows-style paths when running on Windows * Fix paths in isFile * Remove unnecessary clear
This commit is contained in:
@@ -138,7 +138,7 @@ Future<void> run(List<String> args) async {
|
||||
// TODO(dnfield): This should be injected.
|
||||
exitCode = await const FlutterTestRunner().runTests(
|
||||
const TestWrapper(),
|
||||
tests.keys.toList(),
|
||||
tests.keys.map(Uri.file).toList(),
|
||||
debuggingOptions: DebuggingOptions.enabled(
|
||||
BuildInfo(
|
||||
BuildMode.debug,
|
||||
|
||||
Reference in New Issue
Block a user