Skip to content

Commit d58a13f

Browse files
committed
Add missed test update
1 parent 357d58b commit d58a13f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cases/compiler/switchCasesExpressionTypeMismatch.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Foo { }
33
switch (0) {
44
case Foo: break; // Error
55
case "sss": break; // Error
6-
case 123: break; // No Error
6+
case 123: break; // Error
77
case true: break; // Error
88
}
99

@@ -15,4 +15,4 @@ switch (s) {
1515
case "sss": break;
1616
case 123: break;
1717
case true: break;
18-
}
18+
}

0 commit comments

Comments
 (0)