Skip to content

Commit 3ac991f

Browse files
authored
Fix typos in README (#2487)
1 parent 84eba11 commit 3ac991f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/checks/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ check(someValue)
115115

116116
Some expectations take arguments which are themselves expectations to apply to
117117
other values. These expectations take `Condition` arguments which have the
118-
signature void Function(Subject)`. The conditions check expectations when they
118+
signature `void Function(Subject)`. The conditions check expectations when they
119119
are called with a `Subject` argument.
120120

121121
```dart
@@ -128,7 +128,7 @@ Expectation extension methods checking asynchronous behavior return a `Future`.
128128
The future should typically be awaited within the test body, however
129129
asynchronous expectations will also ensure that the test is not considered
130130
complete before the expectation is complete.
131-
Expectations with no concrete end conditions, such as an expectation that a
131+
Expectations with no concrete end conditions, such as any expectation that a
132132
future never completes, cannot be awaited and may cause a failure after the test
133133
has already appeared to complete.
134134

0 commit comments

Comments
 (0)