Index: test/runner/configuration/top_level_error_test.dart |
diff --git a/test/runner/configuration/top_level_error_test.dart b/test/runner/configuration/top_level_error_test.dart |
index 87926026541f65b6117aa30470ca6c6127bb9cf8..1680811e3677e5a2e75f01eb60d89ec3ec854c1d 100644 |
--- a/test/runner/configuration/top_level_error_test.dart |
+++ b/test/runner/configuration/top_level_error_test.dart |
@@ -15,6 +15,19 @@ import '../../io.dart'; |
void main() { |
useSandbox(); |
+ test("rejects an invalid pause_after_load", () { |
+ d.file("dart_test.yaml", JSON.encode({ |
+ "pause_after_load": "flup" |
+ })).create(); |
+ |
+ var test = runTest(["test.dart"]); |
+ test.stderr.expect(containsInOrder([ |
+ "pause_after_load must be a boolean", |
+ "^^^^^^" |
+ ])); |
+ test.shouldExit(exit_codes.data); |
+ }); |
+ |
test("rejects an invalid verbose_trace", () { |
d.file("dart_test.yaml", JSON.encode({ |
"verbose_trace": "flup" |