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

Unified Diff: tests/language/allocate_test.dart

Issue 2984443003: Migrate the language tests up to arithmetic_test. (Closed)
Patch Set: generic_methods_generic_function_result_test isn't working on DDC yet. Created 3 years, 5 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
Index: tests/language/allocate_test.dart
diff --git a/tests/language/allocate_test.dart b/tests/language/allocate_test.dart
deleted file mode 100644
index 2ab25c5e27569c3e8fec7b0a7189db99637727f4..0000000000000000000000000000000000000000
--- a/tests/language/allocate_test.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-import "package:expect/expect.dart";
-
-class MyAllocate {
- const MyAllocate([int value = 0]) : value_ = value;
- int getValue() {
- return value_;
- }
-
- final int value_;
-}
-
-class AllocateTest {
- static testMain() {
- Expect.equals(900, (new MyAllocate(900)).getValue());
- }
-}
-
-main() {
- AllocateTest.testMain();
-}
« no previous file with comments | « tests/language/allocate_large_object_test.dart ('k') | tests/language/allocation_sinking_inlining_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698