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

Unified Diff: tests/language/checked_null_test.dart

Issue 166433002: Revert "Fix language tests wrt. warnings." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/call_nonexistent_constructor_test.dart ('k') | tests/language/checked_setter2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/checked_null_test.dart
diff --git a/tests/language/checked_null_test.dart b/tests/language/checked_null_test.dart
index 95df12b2e7c3be12bada1584e3c0e9f1544d71fb..0f2a200fdb299111d05e1122822890fb7476651e 100644
--- a/tests/language/checked_null_test.dart
+++ b/tests/language/checked_null_test.dart
@@ -12,8 +12,8 @@ class A {
A() : b = null, a = null;
}
-main() {
- Expect.throws(bar); /// 01: continued
+main() {
+ Expect.throws(bar);
}
bar() {
@@ -21,5 +21,5 @@ bar() {
// receiver type is a typedef. Some code in the dart2js backend were
// not dealing correctly with typedefs and lead the compiler to
// crash.
- new A().a.foo(); /// 01: static type warning
+ new A().a.foo();
}
« no previous file with comments | « tests/language/call_nonexistent_constructor_test.dart ('k') | tests/language/checked_setter2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698