Index: tests/language/vm/regress_27201_test.dart |
diff --git a/tests/language/vm/regress_27201_test.dart b/tests/language/vm/regress_27201_test.dart |
index 251a1adcc5c66443e804279acb61a9f71a3e768b..bb106af95390a911f57dac6521221af4d879730b 100644 |
--- a/tests/language/vm/regress_27201_test.dart |
+++ b/tests/language/vm/regress_27201_test.dart |
@@ -36,21 +36,17 @@ test_loaded() { |
} |
} |
- |
main() { |
p.loadLibrary().then((v) { |
test_loaded(); |
- }, |
- onError: (e) { |
+ }, onError: (e) { |
Expect.fail("Should have loaded library!"); |
}); |
// Ensure bad library import is handled correctly. |
q.loadLibrary().then((v) { |
Expect.fail("Should have failed"); |
- }, |
- onError: (e) { |
+ }, onError: (e) { |
Expect.throws(() => q.x); |
}); |
} |
- |