File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ # 0.2.1-dev
2
+
1
3
# 0.2.0
2
4
3
5
- ** Breaking Changes**
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ value - for instance reading a field or awaiting the result of a Future.
27
27
28
28
``` dart
29
29
check(someString).length.equals(expectedLength);
30
- ( await check(someFuture).completes()). equals(expectedCompletion);
30
+ await check(someFuture).completes(it().. equals(expectedCompletion) );
31
31
```
32
32
33
33
Fields can be extracted from objects for checking further properties with the
@@ -102,3 +102,9 @@ extension CustomChecks on Subject<CustomType> {
102
102
Subject<Bar> get someField => has((a) => a.someField, 'someField');
103
103
}
104
104
```
105
+
106
+ # Migrating from ` matcher ` (` expect ` ) expectations
107
+
108
+ See the [ migration guide] [ ] .
109
+
110
+ [ migration guide ] :https://github.com/dart-lang/test/blob/master/pkgs/checks/doc/migrating_from_matcher.md
Original file line number Diff line number Diff line change 1
1
name : checks
2
- version : 0.2.0
2
+ version : 0.2.1-dev
3
3
description : >-
4
4
A framework for checking values against expectations and building custom
5
5
expectations.
You can’t perform that action at this time.
0 commit comments