We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8515c4a commit e62748fCopy full SHA for e62748f
pkg/dartdev/test/commands/info_macos_test.dart
@@ -21,7 +21,12 @@ void main() {
21
expect(process.memoryMb, greaterThan(0));
22
expect(process.cpuPercent, greaterThanOrEqualTo(0.0));
23
expect(process.elapsedTime, isNotEmpty);
24
- expect(process.commandLine, startsWith('dart'));
+ if (!(process.commandLine.startsWith('dart') ||
25
+ process.commandLine.contains('snapshot'))) {
26
+ print("Expected ${process.commandLine} to start with 'dart' or"
27
+ " contain 'snapshot'.");
28
+ expect(true, false);
29
+ }
30
}
31
});
32
0 commit comments