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

Unified Diff: tests/html/typed_arrays_4_test.dart

Issue 14367012: Move to new dart:typeddata types for dart2js (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revert generated files for html lib 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_4_test.dart
diff --git a/tests/html/typed_arrays_4_test.dart b/tests/html/typed_arrays_4_test.dart
index 7a7fcdf39f2b47399ac040162df677cc8b9d5f93..71b0281ca922b814a713aebec1c97ca103d578d2 100644
--- a/tests/html/typed_arrays_4_test.dart
+++ b/tests/html/typed_arrays_4_test.dart
@@ -6,6 +6,7 @@ library TypedArrays4Test;
import '../../pkg/unittest/lib/unittest.dart';
import '../../pkg/unittest/lib/html_config.dart';
import 'dart:html';
+import 'dart:typeddata';
main() {
useHtmlConfiguration();
@@ -16,7 +17,7 @@ main() {
}
test('indexOf_dynamic', () {
- var a1 = new Uint8Array(1024);
+ var a1 = new Uint8List(1024);
for (int i = 0; i < a1.length; i++) {
a1[i] = i;
}
@@ -31,7 +32,7 @@ main() {
});
test('indexOf_typed', () {
- Uint8Array a1 = new Uint8Array(1024);
+ Uint8List a1 = new Uint8List(1024);
for (int i = 0; i < a1.length; i++) {
a1[i] = i;
}

Powered by Google App Engine
This is Rietveld 408576698