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

Commit 7ea9047

Browse files
authored
Update test_api dependency, bump & fix lints, prepare release (#237)
Closes #236 Also remove dependency overrides
1 parent 050fdda commit 7ea9047

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
matrix:
4848
# Add macos-latest and/or windows-latest if relevant for this package.
4949
os: [ubuntu-latest]
50-
sdk: [2.18.0, dev]
50+
sdk: [3.0, dev]
5151
steps:
5252
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
5353
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
## 0.12.17-wip
1+
## 0.12.16+1
2+
3+
* Require Dart 3.0
4+
* Support latest version of `package:test_api`.
25

36
## 0.12.16
47

analysis_options.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ linter:
44
rules:
55
- always_declare_return_types
66
- avoid_private_typedef_functions
7-
- avoid_returning_null
8-
- avoid_returning_null_for_future
97
- avoid_unused_constructor_parameters
108
- cancel_subscriptions
119
- comment_references

lib/matcher.dart

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
/// Support for specifying test expectations, such as for unit tests.
6+
library;
7+
68
export 'src/core_matchers.dart';
79
export 'src/custom_matcher.dart';
810
export 'src/description.dart';

pubspec.yaml

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
name: matcher
2-
version: 0.12.17-wip
2+
version: 0.12.16+1
33
description: >-
44
Support for specifying test expectations via an extensible Matcher class.
55
Also includes a number of built-in Matcher implementations for common cases.
66
repository: https://github.com/dart-lang/matcher
77

88
environment:
9-
sdk: ">=2.18.0 <3.0.0"
9+
sdk: ^3.0.0
1010

1111
dependencies:
1212
async: ^2.10.0
1313
meta: ^1.8.0
1414
stack_trace: ^1.10.0
1515
term_glyph: ^1.2.0
16-
test_api: ">=0.5.0 <0.7.0"
16+
test_api: ">=0.5.0 <0.8.0"
1717

1818
dev_dependencies:
1919
fake_async: ^1.3.0
20-
lints: ^2.0.0
20+
lints: ^3.0.0
2121
test: ^1.23.0
22-
23-
dependency_overrides:
24-
test: 1.24.2
25-
test_api: 0.5.2

0 commit comments

Comments
 (0)