| Index: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| index 01a41796618f924c73f4066c83cb4354308bcafe..bb05a33de629fd2a0176742980ca4d67007c8643 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| @@ -470,6 +470,8 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
|
| " throw new Exception();",
|
| " case 4:",
|
| " bar();",
|
| + " default:",
|
| + " bar();",
|
| " }",
|
| " }",
|
| "}",
|
| @@ -477,7 +479,8 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
|
| "");
|
| assertErrors(
|
| libraryResult.getErrors(),
|
| - errEx(ResolverErrorCode.SWITCH_CASE_FALL_THROUGH, 14, 9, 6));
|
| + errEx(ResolverErrorCode.SWITCH_CASE_FALL_THROUGH, 14, 9, 6),
|
| + errEx(ResolverErrorCode.SWITCH_CASE_FALL_THROUGH, 16, 9, 6));
|
| }
|
|
|
| /**
|
| @@ -3363,6 +3366,7 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
|
| " switch (true) {",
|
| " default:",
|
| " int v = foo;",
|
| + " break;",
|
| " }",
|
| "}",
|
| "");
|
|
|