Skip to content

Commit

Permalink
Remove unused dart:async imports.
Browse files Browse the repository at this point in the history
As of Dart 2.1, Future/Stream have been exported from dart:core.
  • Loading branch information
srawlins committed Nov 21, 2020
1 parent db97d82 commit 841254a
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions pkgs/test_api/lib/src/frontend/async_matcher.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:matcher/matcher.dart';

import '../backend/invoker.dart';
Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/lib/src/frontend/expect.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:matcher/matcher.dart';

import '../backend/closed_exception.dart';
Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/lib/src/frontend/future_matchers.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:matcher/matcher.dart';

import '../utils.dart';
Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/lib/src/frontend/stream_matcher.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:async/async.dart';
import 'package:matcher/matcher.dart';

Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/lib/src/frontend/stream_matchers.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:async/async.dart';
import 'package:matcher/matcher.dart';

Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/lib/src/frontend/utils.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

/// Returns a [Future] that completes after the [event loop][] has run the given
/// number of [times] (20 by default).
///
Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/test/frontend/expect_test.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:test/test.dart';

import '../utils.dart';
Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/test/frontend/never_called_test.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:term_glyph/term_glyph.dart' as glyph;
import 'package:test/test.dart';

Expand Down
2 changes: 0 additions & 2 deletions pkgs/test_api/test/frontend/tear_down_all_test.dart
Expand Up @@ -2,8 +2,6 @@
// 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 'dart:async';

import 'package:async/async.dart';
import 'package:test/test.dart';

Expand Down
1 change: 0 additions & 1 deletion pkgs/test_api/test/utils.dart
Expand Up @@ -2,7 +2,6 @@
// 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 'dart:async';
import 'dart:collection';

import 'package:test_api/src/backend/declarer.dart';
Expand Down

0 comments on commit 841254a

Please sign in to comment.