Index: tests/language/inlined_throw_test.dart |
diff --git a/tests/language/inlined_throw_test.dart b/tests/language/inlined_throw_test.dart |
index 16145da214fd332cdfb4281d115d3b6f886a4094..1b1afe1525ef3590ace42c4378b30de99b14b855 100644 |
--- a/tests/language/inlined_throw_test.dart |
+++ b/tests/language/inlined_throw_test.dart |
@@ -78,29 +78,12 @@ hoo() { |
kast("hoo").x; |
} |
-switcheroo(x) { |
+switcheroo() { |
switch (kast("switcheroo")) { |
case 0: |
boo(); |
} |
} |
-switchertoo(x) { |
- switch (kast("switcheroo")) { |
- case boo(): |
- foo(); |
- } |
-} |
- |
-switchenoo(x) { |
- switch (x) { |
- case callMeTrue(): |
- break; |
- case kast("switchenoo"): |
- break; |
- case 42: |
- return 42; |
- } |
-} |
interpole() => "inter${kast('tada!')}pole"; |
interpoleCallThrow() => "inter${callMeTrue()}...${kast('tada!')}pole"; |
@@ -178,10 +161,6 @@ main() { |
Expect.throws(yo); |
Expect.throws(hoo); |
Expect.throws(switcheroo); |
- Expect.throws(switchertoo); |
- testCallThenThrow(() => switchenoo(false)); |
- switchenoo(true); |
- testCall(() { try { switchenoo(x); } catch(e) { } }); |
Expect.throws(interpole); |
testCallThenThrow(interpoleCallThrow); |
Expect.throws(call1); |