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

Unified Diff: tests/language_strong/compile_time_constant_arguments_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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/compile_time_constant_arguments_test.dart
diff --git a/tests/language_strong/compile_time_constant_arguments_test.dart b/tests/language_strong/compile_time_constant_arguments_test.dart
index 7a8c8a28dc96ea2b62912c74e28540836bacf6f1..891457c9effca62b4359b8365ed36b927b5dc865 100644
--- a/tests/language_strong/compile_time_constant_arguments_test.dart
+++ b/tests/language_strong/compile_time_constant_arguments_test.dart
@@ -10,13 +10,13 @@ class A {
main() {
const A(1);
- const A(); /// 01: compile-time error, static type warning
- const A(1, 2); /// 02: compile-time error, static type warning
+ const A(); //# 01: compile-time error, static type warning
+ const A(1, 2); //# 02: compile-time error, static type warning
const A.named();
- const A.named(b: 1); /// 03: compile-time error, static type warning
- const A.named(a: 1, a: 2); /// 04: compile-time error, static type warning
- const A.named(a: 1, b: 2); /// 05: compile-time error, static type warning
+ const A.named(b: 1); //# 03: compile-time error, static type warning
+ const A.named(a: 1, a: 2); //# 04: compile-time error, static type warning
+ const A.named(a: 1, b: 2); //# 05: compile-time error, static type warning
const A.optional();
const A.optional(42);
- const A.optional(42, 54); /// 06: compile-time error, static type warning
+ const A.optional(42, 54); //# 06: compile-time error, static type warning
}

Powered by Google App Engine
This is Rietveld 408576698