fix debugging tests
diff --git a/pkgs/pubspec_parse/test/pub_utils.dart b/pkgs/pubspec_parse/test/pub_utils.dart index 1ebb9c7..17e8970 100644 --- a/pkgs/pubspec_parse/test/pub_utils.dart +++ b/pkgs/pubspec_parse/test/pub_utils.dart
@@ -13,8 +13,13 @@ Future<ProcResult> tryPub(String content) async { await d.file('pubspec.yaml', content).create(); - final proc = await TestProcess.start(_pubPath, ['get', '--offline'], - workingDirectory: d.sandbox); + final proc = await TestProcess.start( + _pubPath, + ['get', '--offline'], + workingDirectory: d.sandbox, + // Don't pass current process VM options to child + environment: Map.from(Platform.environment)..remove('DART_VM_OPTIONS'), + ); final result = await ProcResult.fromTestProcess(proc);