Skip to content

Commit 30e70fc

Browse files
Simplify and clarify the documentation
1 parent 0925f14 commit 30e70fc

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -280,20 +280,15 @@ with a given property value. Example: count the number of PODs with a given name
280280
Hence this additional syntax.
281281

282282
```bash
283-
# Expecting 0 or 1 instance
284-
try "at most <number> times every <number>s \
285-
to find <0 or 1> <resource-type> named '<regular-expression>' \
286-
with '<property-name>' being '<expected-value>'"
287-
288-
# Expecting more than 1 instance
283+
# Expecting a given number of instances
289284
try "at most <number> times every <number>s \
290285
to find <number> <resource-type> named '<regular-expression>' \
291286
with '<property-name>' being '<expected-value>'"
292287
```
293288

294289
This is a checking loop.
295290
It breaks the loop if as soon as the assertion is verified. If it reaches the end of the loop
296-
with having been verified, an error is thrown. Please, refer to [this section](#property-names) for details
291+
without having been verified, an error is thrown. Please, refer to [this section](#property-names) for details
297292
about the property names.
298293

299294
This assertion is useful for PODs, whose life cycle changes take time.
@@ -318,7 +313,7 @@ try "at most <number> times every <number>s \
318313

319314
This is a checking loop.
320315
It breaks the loop if as soon as the assertion is verified. If it reaches the end of the loop
321-
with having been verified, an error is thrown. Please, refer to [this section](#property-names) for details
316+
without having been verified, an error is thrown. Please, refer to [this section](#property-names) for details
322317
about the property names.
323318

324319
This assertion verifies all the instances have this property value.

0 commit comments

Comments
 (0)