Skip to content

Commit

Permalink
Remove unused imports (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
grouma authored Jun 26, 2017
1 parent 8d0f345 commit d26e107
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.12.23+1

* Remove unused imports.

## 0.12.23

* Add a `fold_stack_frames` field for `dart_test.yaml`. This will
Expand Down
9 changes: 9 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
analyzer:
strong-mode: true
# Upgrade lints to errors that will break Google3
errors:
unused_element: error
unused_import: error
unused_local_variable: error
dead_code: error
### Useful to uncomment during development to remove the noise of the many
### deprecated APIs.
# deprecated_member_use: ignore
linter:
rules:
- await_only_futures
Expand Down
1 change: 0 additions & 1 deletion lib/src/frontend/stream_matcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import 'package:async/async.dart';
import 'package:matcher/matcher.dart';

import '../utils.dart';
import '../backend/invoker.dart';
import 'test_chain.dart';
import 'async_matcher.dart';

Expand Down
1 change: 0 additions & 1 deletion lib/src/frontend/throws_matcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import 'package:matcher/matcher.dart';
import '../utils.dart';
import 'async_matcher.dart';
import '../frontend/test_chain.dart';
import '../backend/invoker.dart';

/// This function is deprecated.
///
Expand Down
1 change: 0 additions & 1 deletion lib/src/runner/reporter/json.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import '../../backend/state.dart';
import '../../backend/suite.dart';
import '../../backend/test_platform.dart';
import '../../frontend/expect.dart';
import '../../utils.dart';
import '../configuration.dart';
import '../configuration/suite.dart';
import '../engine.dart';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: test
version: 0.12.23
version: 0.12.23+1
author: Dart Team <[email protected]>
description: A library for writing dart unit tests.
homepage: https://github.com/dart-lang/test
Expand Down

0 comments on commit d26e107

Please sign in to comment.