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

Unified Diff: tests/language_strong/super_bound_closure_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/super_bound_closure_test.dart
diff --git a/tests/language_strong/super_bound_closure_test.dart b/tests/language_strong/super_bound_closure_test.dart
index 1663c936a5ca9899d6d7a8f46bca7842686e67a9..a122ca890ed1e576872f248ed0ced784f4897388 100644
--- a/tests/language_strong/super_bound_closure_test.dart
+++ b/tests/language_strong/super_bound_closure_test.dart
@@ -72,15 +72,15 @@ class B extends A {
fooIntercept27() => confuse(super.lastWhere)(0);
fooIntercept28() => confuse(super.lastWhere)(3, orElse: 77);
- bar([var optional]) => -1; /// 01: static type warning
- bar2({ namedOptional }) => -1; /// 01: continued
- bar3(x, [var optional]) => -1; /// 01: continued
- bar4(x, { namedOptional }) => -1; /// 01: continued
+ bar([var optional]) => -1; //# 01: static type warning
+ bar2({ namedOptional }) => -1; //# 01: continued
+ bar3(x, [var optional]) => -1; //# 01: continued
+ bar4(x, { namedOptional }) => -1; //# 01: continued
- gee([var optional]) => -1; /// 01: continued
- gee2({ namedOptional }) => -1; /// 01: continued
- gee3(x, [var optional]) => -1; /// 01: continued
- gee4(x, { namedOptional }) => -1; /// 01: continued
+ gee([var optional]) => -1; //# 01: continued
+ gee2({ namedOptional }) => -1; //# 01: continued
+ gee3(x, [var optional]) => -1; //# 01: continued
+ gee4(x, { namedOptional }) => -1; //# 01: continued
add([var optional = 33]) => -1;
trim({ namedOptional: 22 }) => -1;
@@ -106,27 +106,27 @@ main() {
var ignored2 = list[confuse(3)];
var t = b.gee() + b.gee2() + b.gee3(9) + b.gee4(19);
- Expect.equals(-4, t); /// 01: continued
+ Expect.equals(-4, t); //# 01: continued
t = b.shuffle() + b.toList() + b.lastIndexOf(1) + b.lastWhere(2);
Expect.equals(-4, t);
- Expect.equals(499, b.foo()); /// 01: continued
- Expect.equals(500, b.foo2()); /// 01: continued
- Expect.equals(42, b.foo3()); /// 01: continued
- Expect.equals(117, b.foo4()); /// 01: continued
- Expect.equals(498, b.foo5()); /// 01: continued
- Expect.equals(468, b.foo6()); /// 01: continued
- Expect.equals(426, b.foo7()); /// 01: continued
- Expect.equals(502, b.foo8()); /// 01: continued
-
- Expect.equals(499, b.fooGee()); /// 01: continued
- Expect.equals(500, b.fooGee2()); /// 01: continued
- Expect.equals(42, b.fooGee3()); /// 01: continued
- Expect.equals(117, b.fooGee4()); /// 01: continued
- Expect.equals(498, b.fooGee5()); /// 01: continued
- Expect.equals(468, b.fooGee6()); /// 01: continued
- Expect.equals(426, b.fooGee7()); /// 01: continued
- Expect.equals(502, b.fooGee8()); /// 01: continued
+ Expect.equals(499, b.foo()); //# 01: continued
+ Expect.equals(500, b.foo2()); //# 01: continued
+ Expect.equals(42, b.foo3()); //# 01: continued
+ Expect.equals(117, b.foo4()); //# 01: continued
+ Expect.equals(498, b.foo5()); //# 01: continued
+ Expect.equals(468, b.foo6()); //# 01: continued
+ Expect.equals(426, b.foo7()); //# 01: continued
+ Expect.equals(502, b.foo8()); //# 01: continued
+
+ Expect.equals(499, b.fooGee()); //# 01: continued
+ Expect.equals(500, b.fooGee2()); //# 01: continued
+ Expect.equals(42, b.fooGee3()); //# 01: continued
+ Expect.equals(117, b.fooGee4()); //# 01: continued
+ Expect.equals(498, b.fooGee5()); //# 01: continued
+ Expect.equals(468, b.fooGee6()); //# 01: continued
+ Expect.equals(426, b.fooGee7()); //# 01: continued
+ Expect.equals(502, b.fooGee8()); //# 01: continued
Expect.equals(1267, b.fooIntercept());
Expect.equals(1236, b.fooIntercept2());

Powered by Google App Engine
This is Rietveld 408576698