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

Unified Diff: tests/language/const_constructor2_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (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
« no previous file with comments | « tests/language/const_conditional_test.dart ('k') | tests/language/const_constructor3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/const_constructor2_test.dart
diff --git a/tests/language/const_constructor2_test.dart b/tests/language/const_constructor2_test.dart
index 13358891dcc93fa4574393fc4d29631cb92551ce..fe42eaf7c4e12ed3d92926a5b900e42ec9767f15 100644
--- a/tests/language/const_constructor2_test.dart
+++ b/tests/language/const_constructor2_test.dart
@@ -48,31 +48,31 @@ class G<W> implements F {
main() {
const A<int> a = const B<int>();
- const C c1 = const C(a); /// 01: ok
- const C c2 = const C.optional(a); /// 02: ok
- const C c3 = const C.named(a: a); /// 03: ok
- const C c4 = const C.untyped(a); /// 04: ok
- const C c5 = const C.subtyped(a); /// 05: ok
- const C c5m = const C.redirecting(a); /// 06: ok
+ const C c1 = const C(a); //# 01: ok
+ const C c2 = const C.optional(a); //# 02: ok
+ const C c3 = const C.named(a: a); //# 03: ok
+ const C c4 = const C.untyped(a); //# 04: ok
+ const C c5 = const C.subtyped(a); //# 05: ok
+ const C c5m = const C.redirecting(a); //# 06: ok
- const C c6 = const C<int>(a); /// 07: ok
- const C c7 = const C<int>.optional(a); /// 08: ok
- const C c8 = const C<int>.named(a: a); /// 09: ok
- const C c9 = const C<int>.untyped(a); /// 10: ok
- const C c10 = const C<int>.subtyped(a); /// 11: ok
- const C c10m = const C<int>.redirecting(a); /// 12: ok
+ const C c6 = const C<int>(a); //# 07: ok
+ const C c7 = const C<int>.optional(a); //# 08: ok
+ const C c8 = const C<int>.named(a: a); //# 09: ok
+ const C c9 = const C<int>.untyped(a); //# 10: ok
+ const C c10 = const C<int>.subtyped(a); //# 11: ok
+ const C c10m = const C<int>.redirecting(a); //# 12: ok
- const C c11 = const C<double>(a); /// 13: static type warning, checked mode compile-time error
- const C c12 = const C<double>.optional(a); /// 14: static type warning, checked mode compile-time error
- const C c13 = const C<double>.named(a: a); /// 15: static type warning, checked mode compile-time error
- const C c14 = const C<double>.untyped(a); /// 16: static type warning, checked mode compile-time error
- const C c15 = const C<double>.subtyped(a); /// 17: static type warning, checked mode compile-time error
- const C c15m = const C<double>.redirecting(a); /// 18: static type warning
+ const C c11 = const C<double>(a); //# 13: static type warning, checked mode compile-time error
+ const C c12 = const C<double>.optional(a); //# 14: static type warning, checked mode compile-time error
+ const C c13 = const C<double>.named(a: a); //# 15: static type warning, checked mode compile-time error
+ const C c14 = const C<double>.untyped(a); //# 16: static type warning, checked mode compile-time error
+ const C c15 = const C<double>.subtyped(a); //# 17: static type warning, checked mode compile-time error
+ const C c15m = const C<double>.redirecting(a); //# 18: static type warning
- const E e1 = const E.redirecting1(0); /// 19: ok
- const E e2 = const E.redirecting1(''); /// 20: checked mode compile-time error
- const E e3 = const E.redirecting2(0); /// 21: ok
- const E e4 = const E.redirecting2(''); /// 22: checked mode compile-time error
- const E e5 = const E.redirecting3(0); /// 23: ok
- const E e6 = const E.redirecting3(''); /// 24: checked mode compile-time error
+ const E e1 = const E.redirecting1(0); //# 19: ok
+ const E e2 = const E.redirecting1(''); //# 20: checked mode compile-time error
+ const E e3 = const E.redirecting2(0); //# 21: ok
+ const E e4 = const E.redirecting2(''); //# 22: checked mode compile-time error
+ const E e5 = const E.redirecting3(0); //# 23: ok
+ const E e6 = const E.redirecting3(''); //# 24: checked mode compile-time error
}
« no previous file with comments | « tests/language/const_conditional_test.dart ('k') | tests/language/const_constructor3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698