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

Unified Diff: tests/language/checked_setter_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/checked_setter3_test.dart ('k') | tests/language/class_literal_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/checked_setter_test.dart
diff --git a/tests/language/checked_setter_test.dart b/tests/language/checked_setter_test.dart
index 71af4af18bb1e844ad8aedc0e57af708a3f3df9d..608a472f9c8dc27855c6bfa9650b6cfcec970635 100644
--- a/tests/language/checked_setter_test.dart
+++ b/tests/language/checked_setter_test.dart
@@ -22,8 +22,7 @@ main() {
array[0].c = new C();
bool inCheckedMode = false;
try {
- var i = 42;
- String a = i;
+ String a = 42;
} catch (e) {
inCheckedMode = true;
}
« no previous file with comments | « tests/language/checked_setter3_test.dart ('k') | tests/language/class_literal_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698