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

Unified Diff: tests/language/empty_block_case_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/empty_block_case_test.dart
diff --git a/tests/language/empty_block_case_test.dart b/tests/language/empty_block_case_test.dart
index 085ce701416466f0f677206ca526ad18d8b26bd7..7443918849dc071deb690a9debff8ff9d1817a52 100644
--- a/tests/language/empty_block_case_test.dart
+++ b/tests/language/empty_block_case_test.dart
@@ -7,13 +7,14 @@ import "package:expect/expect.dart";
// Test that a case with an empty block does not fall through.
class EmptyBlockCaseTest {
-
static testMain() {
var exception = null;
try {
switch (1) {
- case 1: {}
- case 2: Expect.equals(true, false);
+ case 1:
+ {}
+ case 2:
+ Expect.equals(true, false);
}
} on FallThroughError catch (e) {
exception = e;

Powered by Google App Engine
This is Rietveld 408576698