Index: tests/html/typed_arrays_3_test.dart |
diff --git a/tests/html/typed_arrays_3_test.dart b/tests/html/typed_arrays_3_test.dart |
index efa4e17471d7cd9f7ce16697c224e56b0eb024af..b523c4c4c0dacc2c1b6f2447365fdb0204ddde98 100644 |
--- a/tests/html/typed_arrays_3_test.dart |
+++ b/tests/html/typed_arrays_3_test.dart |
@@ -3,6 +3,7 @@ |
// BSD-style license that can be found in the LICENSE file. |
library TypedArrays3Test; |
+ |
import 'package:unittest/unittest.dart'; |
import 'package:unittest/html_config.dart'; |
import 'dart:html'; |
@@ -17,30 +18,30 @@ main() { |
} |
test('setElementsTest_dynamic', () { |
- var a1 = new Int8List(1024); |
+ var a1 = new Int8List(1024); |
- a1.setRange(4, 7, [0x50,0x60,0x70]); |
+ a1.setRange(4, 7, [0x50, 0x60, 0x70]); |
- var a2 = new Uint32List.view(a1.buffer); |
- expect(a2[0], 0x00000000); |
- expect(a2[1], 0x00706050); |
+ var a2 = new Uint32List.view(a1.buffer); |
+ expect(a2[0], 0x00000000); |
+ expect(a2[1], 0x00706050); |
- a2.setRange(2, 3, [0x01020304]); |
- expect(a1[8], 0x04); |
- expect(a1[11], 0x01); |
+ a2.setRange(2, 3, [0x01020304]); |
+ expect(a1[8], 0x04); |
+ expect(a1[11], 0x01); |
}); |
test('setElementsTest_typed', () { |
- Int8List a1 = new Int8List(1024); |
+ Int8List a1 = new Int8List(1024); |
- a1.setRange(4, 7, [0x50,0x60,0x70]); |
+ a1.setRange(4, 7, [0x50, 0x60, 0x70]); |
- Uint32List a2 = new Uint32List.view(a1.buffer); |
- expect(a2[0], 0x00000000); |
- expect(a2[1], 0x00706050); |
+ Uint32List a2 = new Uint32List.view(a1.buffer); |
+ expect(a2[0], 0x00000000); |
+ expect(a2[1], 0x00706050); |
- a2.setRange(2, 3, [0x01020304]); |
- expect(a1[8], 0x04); |
- expect(a1[11], 0x01); |
+ a2.setRange(2, 3, [0x01020304]); |
+ expect(a1[8], 0x04); |
+ expect(a1[11], 0x01); |
}); |
} |