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

Unified Diff: tests/language_strong/argument_definition_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_strong/argument_definition_test.dart
diff --git a/tests/language_strong/argument_definition_test.dart b/tests/language_strong/argument_definition_test.dart
deleted file mode 100644
index e16b7526582036102bb0c0ba8a1bf017e6537e13..0000000000000000000000000000000000000000
--- a/tests/language_strong/argument_definition_test.dart
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2012, 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.
-// Dart test program for testing that the argument definition test has been
-// removed.
-
-import "package:expect/expect.dart";
-
-int test(a, {b, c}) {
- if (?b) return b; // //# 01: compile-time error
- return a + b + c;
-}
-
-main() {
- Expect.equals(6, test(1, b: 2, c: 3));
-}
« no previous file with comments | « tests/language_strong/application_test.dart ('k') | tests/language_strong/arithmetic_canonicalization_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698