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

Unified Diff: tests/lib/typed_data/typed_data_list_test.dart

Issue 957973006: dart2js: don't emit unneeded native info. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. 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
Index: tests/lib/typed_data/typed_data_list_test.dart
diff --git a/tests/lib/typed_data/typed_data_list_test.dart b/tests/lib/typed_data/typed_data_list_test.dart
index 86d1ddf24e6121f622d0badb5e4abdce18147cdc..728416c8f3002ea18a33179b7cb9ebd6e6cb3803 100644
--- a/tests/lib/typed_data/typed_data_list_test.dart
+++ b/tests/lib/typed_data/typed_data_list_test.dart
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'package:expect/expect.dart';
import 'dart:typed_data';
+import 'package:expect/expect.dart';
void testListFunctions(list, first, last, toElementType) {
assert(list.length > 0);
@@ -55,7 +55,7 @@ void testListFunctions(list, first, last, toElementType) {
Expect.equals(0, list.lastIndexOf(first));
Expect.equals(list.length - 1, list.lastIndexOf(last));
Expect.equals(-1, list.lastIndexOf(-1));
-
+
var copy = list.toList();
list.fillRange(1, list.length - 1, toElementType(0));
Expect.equals(copy.first, list.first);
« no previous file with comments | « tests/lib/typed_data/simd_type_check_removal.dart ('k') | tests/lib/typed_data/typed_data_sublist_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698