Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Fix newly enforced lint #190

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions 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 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 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 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 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 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 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