From 92e04a54636e8116813e14f11d9c24c4e10143d0 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Thu, 17 Apr 2025 18:43:26 +0000 Subject: [PATCH] Fix typos in README --- pkgs/checks/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/checks/README.md b/pkgs/checks/README.md index 22a0351d2..74cbbf99d 100644 --- a/pkgs/checks/README.md +++ b/pkgs/checks/README.md @@ -115,7 +115,7 @@ check(someValue) Some expectations take arguments which are themselves expectations to apply to other values. These expectations take `Condition` arguments which have the -signature void Function(Subject)`. The conditions check expectations when they +signature `void Function(Subject)`. The conditions check expectations when they are called with a `Subject` argument. ```dart @@ -128,7 +128,7 @@ Expectation extension methods checking asynchronous behavior return a `Future`. The future should typically be awaited within the test body, however asynchronous expectations will also ensure that the test is not considered complete before the expectation is complete. -Expectations with no concrete end conditions, such as an expectation that a +Expectations with no concrete end conditions, such as any expectation that a future never completes, cannot be awaited and may cause a failure after the test has already appeared to complete.