Index: tests/language_2/cast2_test.dart |
diff --git a/tests/language/cast2_test.dart b/tests/language_2/cast2_test.dart |
similarity index 92% |
rename from tests/language/cast2_test.dart |
rename to tests/language_2/cast2_test.dart |
index 78b200af13054e0ecee6eb6ff6ed221cbb80ddd8..4e03ef39aa2558a3e283d604ed71d83798aeb6d0 100644 |
--- a/tests/language/cast2_test.dart |
+++ b/tests/language_2/cast2_test.dart |
@@ -24,7 +24,7 @@ main() { |
C oc = new C(); |
D od = new D(); |
- (oc as dynamic).bar; // //# 01: runtime error |
+ Expect.throwsNoSuchMethodError(() => (oc as dynamic).bar); |
// Casts should always evaluate the left-hand side, if only for its effects. |
oc.inc() as dynamic; |