Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1491)

Unified Diff: tests/language/vm/regress_27201_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
});
}
-

Powered by Google App Engine
This is Rietveld 408576698