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

Unified Diff: client/tests/client/dom/TypedArrays1Test.dart

Issue 9474035: Add is-check to TypedArrays1Test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/dom/TypedArrays1Test.dart
diff --git a/client/tests/client/dom/TypedArrays1Test.dart b/client/tests/client/dom/TypedArrays1Test.dart
index 892672c46a31e5f4ecfc9b650531ce12c6e1a26e..affe76b712ce6d8d4d1678542cf41ef037e81e32 100644
--- a/client/tests/client/dom/TypedArrays1Test.dart
+++ b/client/tests/client/dom/TypedArrays1Test.dart
@@ -31,4 +31,11 @@ main() {
Expect.equals(1024, a2[0]);
});
+
+ test('typeTests', () {
+ var a = new Float32Array(10);
+ Expect.isTrue(a is List);
+ Expect.isTrue(a is List<num>);
+ Expect.isTrue(a is! List<String>);
+ });
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698