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

Unified Diff: tests/html/typed_arrays_1_test.dart

Issue 13954014: Add Supported class to dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/html/typed_arrays_1_test.dart
diff --git a/tests/html/typed_arrays_1_test.dart b/tests/html/typed_arrays_1_test.dart
index 12bd9f6aae58b8b94972154365b747829e975c69..28dfdb2b6776d515ece1d700964edad47576d6b0 100644
--- a/tests/html/typed_arrays_1_test.dart
+++ b/tests/html/typed_arrays_1_test.dart
@@ -12,11 +12,11 @@ main() {
var isnumList = predicate((x) => x is List<num>, 'is a List<num>');
var isStringList = predicate((x) => x is List<String>, 'is a List<String>');
- var expectation = ArrayBuffer.supported ? returnsNormally : throws;
+ var expectation = Supported.typeddata ? returnsNormally : throws;
group('supported', () {
test('supported', () {
- expect(ArrayBuffer.supported, true);
+ expect(Supported.typeddata, true);
});
});

Powered by Google App Engine
This is Rietveld 408576698