| 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 11b6eafede00a5c5f5fc8045dd1b904c4a589032..3367c766703f60449a36bc4b2db95ce423fece5a 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java
|
| @@ -399,11 +399,11 @@ public class TypeAnalyzerCompilerTest extends CompilerTestCase {
|
| errEx(TypeErrorCode.CASE_EXPRESSIONS_SHOULD_BE_SAME_TYPE, 5, 10, 3));
|
| }
|
|
|
| - public void test_switchExpression_case_finalLocalVariable() throws Exception {
|
| + public void test_switchExpression_case_constLocalVariable() throws Exception {
|
| AnalyzeLibraryResult libraryResult = analyzeLibrary(
|
| "// filler filler filler filler filler filler filler filler filler filler",
|
| "foo(var v) {",
|
| - " final int VALUE = 0;",
|
| + " const int VALUE = 0;",
|
| " switch (v) {",
|
| " case VALUE: break;",
|
| " }",
|
|
|