Index: test/codegen/corelib/main_test.dart |
diff --git a/test/codegen/language/issue11724_test.dart b/test/codegen/corelib/main_test.dart |
similarity index 75% |
copy from test/codegen/language/issue11724_test.dart |
copy to test/codegen/corelib/main_test.dart |
index 146a6fea0a5025ade7a9556817e09b73e12411ac..141281196fae792229f0fe203315105f3d164794 100644 |
--- a/test/codegen/language/issue11724_test.dart |
+++ b/test/codegen/corelib/main_test.dart |
@@ -2,8 +2,9 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+library main_test; |
import "package:expect/expect.dart"; |
-void main() { |
- Expect.throws(() => method(<int>[]), (e) => e is NoSuchMethodError); |
+main(List<String> args) { |
+ Expect.equals(0, args.length); |
} |