Skip to content

Commit

Permalink
Remove dependency on test. (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c authored Oct 23, 2023
1 parent 6d8b1e7 commit 8c73955
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pkgs/leak_tracker_flutter_testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 1.0.7

* Make configuration adjustable.
* Set version of leak_tracker_testing to `^1.0.5`.

# 1.0.6

Expand Down
2 changes: 1 addition & 1 deletion pkgs/leak_tracker_flutter_testing/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
flutter_test:
sdk: flutter
leak_tracker: ^9.0.6
leak_tracker_testing: ^1.0.3
leak_tracker_testing: ^1.0.5
meta: ^1.8.0

dev_dependencies:
Expand Down
4 changes: 4 additions & 0 deletions pkgs/leak_tracker_testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.0.5

* Stop depending on test.

# 1.0.4

* Bump version of SDK to 3.1.2.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/leak_tracker_testing/lib/src/matchers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

import 'package:leak_tracker/leak_tracker.dart';
import 'package:test/test.dart';
import 'package:matcher/matcher.dart';

/// Checks if the leak collection is empty.
const Matcher isLeakFree = _IsLeakFree();
Expand Down
4 changes: 2 additions & 2 deletions pkgs/leak_tracker_testing/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: leak_tracker_testing
version: 1.0.4
version: 1.0.5
description: Leak tracking code intended for usage in tests.
repository: https://github.com/dart-lang/leak_tracker/tree/main/pkgs/leak_tracker_testing

Expand All @@ -8,7 +8,7 @@ environment:

dependencies:
leak_tracker: '>=9.0.0 <11.0.0'
test: ^1.16.0
matcher: ^0.12.16

dev_dependencies:
flutter_lints: ^3.0.0
Expand Down

0 comments on commit 8c73955

Please sign in to comment.