Skip to content

Commit

Permalink
Fix newly enforced lint (dart-lang/collection#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Apr 26, 2021
1 parent 6b97446 commit 1e47424
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 15 deletions.
3 changes: 1 addition & 2 deletions pkgs/collection/test/extensions_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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', () {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/collection/test/functions_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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()', () {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/collection/test/iterable_zip_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 1 addition & 3 deletions pkgs/collection/test/priority_queue_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
3 changes: 1 addition & 2 deletions pkgs/collection/test/union_set_controller_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<int> controller;
Expand Down
3 changes: 1 addition & 2 deletions pkgs/collection/test/union_set_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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', () {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/collection/test/unmodifiable_collection_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1e47424

Please sign in to comment.