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

Unified Diff: tests/language_strong/constructor_return_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/constructor_return_test.dart
diff --git a/tests/language_strong/constructor_return_test.dart b/tests/language_strong/constructor_return_test.dart
index a48507dc34e133c02ecf678ad85ec21125f4b530..5efda201b68b543547362b2f6a12041b3b26a8fe 100644
--- a/tests/language_strong/constructor_return_test.dart
+++ b/tests/language_strong/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() {

Powered by Google App Engine
This is Rietveld 408576698