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

Unified Diff: tests/language/constructor_return_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/constructor_redirect_test.dart ('k') | tests/language/covariant_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/constructor_return_test.dart
diff --git a/tests/language/constructor_return_test.dart b/tests/language/constructor_return_test.dart
index 4361a53cf89e28b9e77f5bbc80253aab690369fc..c971ed3f278030406a2e8ea6bff9a4d086df064e 100644
--- a/tests/language/constructor_return_test.dart
+++ b/tests/language/constructor_return_test.dart
@@ -10,26 +10,26 @@ class A {
int x;
A(this.x) { return; }
A.test1(this.x) {
- return this; // /// 01: compile-time error
+ return this; // //# 01: compile-time error
}
A.test2(this.x) {
- return null; // /// 02: compile-time error
+ return null; // //# 02: compile-time error
}
int foo(int y) => x + y;
}
class B {
- B() => null; // /// 03: compile-time error
+ B() => null; // //# 03: compile-time error
}
class C {
int value;
- C() : value = 1 { return null; } // /// 04: compile-time error
+ C() : value = 1 { return null; } // //# 04: compile-time error
}
class D {
int value;
- D(): value = 1 => null; // /// 05: compile-time error
+ D(): value = 1 => null; // //# 05: compile-time error
}
main() {
« no previous file with comments | « tests/language/constructor_redirect_test.dart ('k') | tests/language/covariant_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698