Index: tests/compiler/dart2js_native/native_exception_test.dart |
diff --git a/tests/compiler/dart2js_native/native_exception_test.dart b/tests/compiler/dart2js_native/native_exception_test.dart |
index e3d2231654a1d26c49264655d52a430bfa9c880d..0c2edf56b828d81b4ecb3fdf04f24466ddbc29e6 100644 |
--- a/tests/compiler/dart2js_native/native_exception_test.dart |
+++ b/tests/compiler/dart2js_native/native_exception_test.dart |
@@ -20,15 +20,26 @@ main() { |
previous = e; |
return '$e' != '[object Object]'; |
} |
- Expect.throws(() { JS('void', 'noGlobalVariableWithThisName'); }, check); |
- Expect.throws(() { JS('void', 'throw 3'); }, check); |
- Expect.throws( |
- () { |
- JS('bool', 'Object.prototype.hasOwnProperty.call(undefined, "foo")'); |
- }, |
- check); |
- Expect.throws(() { JS('void', 'throw new ReferenceError()'); }, check); |
- Expect.throws(() { JS('void', 'throw void 0'); }, check); |
- Expect.throws(() { JS('void', 'throw "a string"'); }, check); |
- Expect.throws(() { JS('void', 'throw null'); }, check); |
+ |
+ Expect.throws(() { |
+ JS('void', 'noGlobalVariableWithThisName'); |
+ }, check); |
+ Expect.throws(() { |
+ JS('void', 'throw 3'); |
+ }, check); |
+ Expect.throws(() { |
+ JS('bool', 'Object.prototype.hasOwnProperty.call(undefined, "foo")'); |
+ }, check); |
+ Expect.throws(() { |
+ JS('void', 'throw new ReferenceError()'); |
+ }, check); |
+ Expect.throws(() { |
+ JS('void', 'throw void 0'); |
+ }, check); |
+ Expect.throws(() { |
+ JS('void', 'throw "a string"'); |
+ }, check); |
+ Expect.throws(() { |
+ JS('void', 'throw null'); |
+ }, check); |
} |