From 50a1222067cc1bff2c7f8c9e28076f6764a5a812 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sun, 25 Apr 2021 22:05:59 -0700 Subject: [PATCH] Fix newly enforced lint --- test/extensions_test.dart | 3 +-- test/functions_test.dart | 3 +-- test/iterable_zip_test.dart | 3 +-- test/priority_queue_test.dart | 4 +--- test/union_set_controller_test.dart | 3 +-- test/union_set_test.dart | 3 +-- test/unmodifiable_collection_test.dart | 3 +-- 7 files changed, 7 insertions(+), 15 deletions(-) diff --git a/test/extensions_test.dart b/test/extensions_test.dart index 5d36020..0ea2d95 100644 --- a/test/extensions_test.dart +++ b/test/extensions_test.dart @@ -4,9 +4,8 @@ import 'dart:math' show pow, Random; -import 'package:test/test.dart'; - import 'package:collection/collection.dart'; +import 'package:test/test.dart'; void main() { group('Iterable', () { diff --git a/test/functions_test.dart b/test/functions_test.dart index e37b978..cffd233 100644 --- a/test/functions_test.dart +++ b/test/functions_test.dart @@ -2,9 +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:test/test.dart'; - import 'package:collection/collection.dart'; +import 'package:test/test.dart'; void main() { group('mapMap()', () { diff --git a/test/iterable_zip_test.dart b/test/iterable_zip_test.dart index 991feda..3881c6a 100644 --- a/test/iterable_zip_test.dart +++ b/test/iterable_zip_test.dart @@ -2,9 +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:test/test.dart'; - import 'package:collection/collection.dart'; +import 'package:test/test.dart'; /// Iterable like [base] except that it throws when value equals [errorValue]. Iterable iterError(Iterable base, int errorValue) { diff --git a/test/priority_queue_test.dart b/test/priority_queue_test.dart index ae27f98..ce0f88e 100644 --- a/test/priority_queue_test.dart +++ b/test/priority_queue_test.dart @@ -3,10 +3,8 @@ // BSD-style license that can be found in the LICENSE file. /// Tests priority queue implementations utilities. - -import 'package:test/test.dart'; - import 'package:collection/src/priority_queue.dart'; +import 'package:test/test.dart'; void main() { testDefault(); diff --git a/test/union_set_controller_test.dart b/test/union_set_controller_test.dart index 3604d62..5d94752 100644 --- a/test/union_set_controller_test.dart +++ b/test/union_set_controller_test.dart @@ -2,9 +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:test/test.dart'; - import 'package:collection/collection.dart'; +import 'package:test/test.dart'; void main() { late UnionSetController controller; diff --git a/test/union_set_test.dart b/test/union_set_test.dart index e5da546..fe9e204 100644 --- a/test/union_set_test.dart +++ b/test/union_set_test.dart @@ -2,9 +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:test/test.dart'; - import 'package:collection/collection.dart'; +import 'package:test/test.dart'; void main() { group('with an empty outer set', () { diff --git a/test/unmodifiable_collection_test.dart b/test/unmodifiable_collection_test.dart index ea93e31..1eaed3f 100644 --- a/test/unmodifiable_collection_test.dart +++ b/test/unmodifiable_collection_test.dart @@ -2,9 +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:test/test.dart'; - import 'package:collection/collection.dart'; +import 'package:test/test.dart'; // Test unmodifiable collection views. // The collections should pass through the operations that are allowed,