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

Unified Diff: tests/language/static_final_field2_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/static_final_field2_test.dart
diff --git a/tests/language/static_final_field2_test.dart b/tests/language/static_final_field2_test.dart
index 2c550a33f3da2ecd3383df90abaed4b20c3b1e33..ff87c7ba1028d3e9fe1853d805e520fd2a9dfbb4 100644
--- a/tests/language/static_final_field2_test.dart
+++ b/tests/language/static_final_field2_test.dart
@@ -10,13 +10,13 @@ class A {
class B {
const B() : n = 5;
final n;
- static const a; /// 02: compile-time error
+ static const a; //# 02: compile-time error
static const b = 3 + 5;
}
main() {
- A.x = 2; /// 01: static type warning, runtime error
+ A.x = 2; //# 01: static type warning, runtime error
new B();
print(B.b);
- print(B.a); /// 02: continued
+ print(B.a); //# 02: continued
}

Powered by Google App Engine
This is Rietveld 408576698