Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Unified Diff: test/codegen/corelib/main_test.dart

Issue 1945153002: Add corelib tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: error_test and range_error_test now pass Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/codegen/corelib/list_unmodifiable_test.dart ('k') | test/codegen/corelib/map_contains_key_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « test/codegen/corelib/list_unmodifiable_test.dart ('k') | test/codegen/corelib/map_contains_key_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698