Skip to content

Commit d26e107

Browse files
authored
Remove unused imports (#657)
1 parent 8d0f345 commit d26e107

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.12.23+1
2+
3+
* Remove unused imports.
4+
15
## 0.12.23
26

37
* Add a `fold_stack_frames` field for `dart_test.yaml`. This will

analysis_options.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
analyzer:
22
strong-mode: true
3+
# Upgrade lints to errors that will break Google3
4+
errors:
5+
unused_element: error
6+
unused_import: error
7+
unused_local_variable: error
8+
dead_code: error
9+
### Useful to uncomment during development to remove the noise of the many
10+
### deprecated APIs.
11+
# deprecated_member_use: ignore
312
linter:
413
rules:
514
- await_only_futures

lib/src/frontend/stream_matcher.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import 'package:async/async.dart';
88
import 'package:matcher/matcher.dart';
99

1010
import '../utils.dart';
11-
import '../backend/invoker.dart';
1211
import 'test_chain.dart';
1312
import 'async_matcher.dart';
1413

lib/src/frontend/throws_matcher.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import 'package:matcher/matcher.dart';
99
import '../utils.dart';
1010
import 'async_matcher.dart';
1111
import '../frontend/test_chain.dart';
12-
import '../backend/invoker.dart';
1312

1413
/// This function is deprecated.
1514
///

lib/src/runner/reporter/json.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import '../../backend/state.dart';
1313
import '../../backend/suite.dart';
1414
import '../../backend/test_platform.dart';
1515
import '../../frontend/expect.dart';
16-
import '../../utils.dart';
1716
import '../configuration.dart';
1817
import '../configuration/suite.dart';
1918
import '../engine.dart';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: test
2-
version: 0.12.23
2+
version: 0.12.23+1
33
author: Dart Team <[email protected]>
44
description: A library for writing dart unit tests.
55
homepage: https://github.com/dart-lang/test

0 commit comments

Comments
 (0)