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

Unified Diff: tests/language/assert_with_type_test_or_cast_test.dart

Issue 924793002: Add SkipSlow marker (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 | « no previous file | tools/testing/dart/status_file_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/assert_with_type_test_or_cast_test.dart
diff --git a/tests/language/assert_with_type_test_or_cast_test.dart b/tests/language/assert_with_type_test_or_cast_test.dart
index e00d0d309ee8dbe17abc18c5515563d4620fa8cd..f9ec08bebfb15ed86061202743959c4a645bac84 100644
--- a/tests/language/assert_with_type_test_or_cast_test.dart
+++ b/tests/language/assert_with_type_test_or_cast_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// Issue 3741: generic type tests and casts fail in assertion statements
-// when run in production mode.
+// when run in production mode.
ricow1 2015/02/13 07:56:27 This is unrelated to this, just removing whitespac
//
// The cause was incomplete generic type skipping, so each of the assert
// statements below would fail.
@@ -13,16 +13,16 @@
main() {
var names = new List<int>();
-
+
// Generic type test.
assert(names is List<int>);
-
+
// Negated generic type test.
assert(names is !List<String>);
-
+
// Generic type cast.
assert((names as List<num>).length == 0);
-
+
// Generic type test inside expression.
assert((names is List<int>));
}
« no previous file with comments | « no previous file | tools/testing/dart/status_file_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698