Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

docs: use dashes for the virtual clock list

Codacy (markdownlint MD004) asks for dash list markers in
docs/progmasoft-catch3.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Commit
6831400adc789b563ca7dad8875b854ee4c87726
Author
Leitwolf11 ·
Parents
b3ab01db5b12

Files · Download .tar.gz

Changes

 docs/progmasoft-catch3.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/progmasoft-catch3.md b/docs/progmasoft-catch3.md
index cbba4bd1..23c76057 100644
--- a/docs/progmasoft-catch3.md
+++ b/docs/progmasoft-catch3.md
@@ -167,18 +167,18 @@ VirtualClock::Advance(31s);
 CHECK_FALSE(cache.Get("key"));
 ```
 
-* `Advance(step)` and `AdvanceTo(time)` move the clock forward and refuse to
+- `Advance(step)` and `AdvanceTo(time)` move the clock forward and refuse to
   move it back. `SleepFor(step)` is `Advance` under the name code under test
   would use in place of `std::this_thread::sleep_for`.
-* `After(delay, action)` sets a timer and returns its id for `Cancel(id)`.
+- `After(delay, action)` sets a timer and returns its id for `Cancel(id)`.
   Timers run when an advance passes their time, in time order and, at the same
   time, in the order they were set; each sees `now()` at its own time. A timer
   may set others, which run in the same advance when they fall within it. A
   zero delay runs at the next advance, even `Advance(0s)`.
-* `RunUntilIdle(limit)` advances from timer to timer until none is left and
+- `RunUntilIdle(limit)` advances from timer to timer until none is left and
   returns how many ran; more than `limit` (100000 by default) is an error,
   since timers that keep setting each other would never end.
-* `Pending()` counts the timers that wait; `Reset()` sets the clock to zero and
+- `Pending()` counts the timers that wait; `Reset()` sets the clock to zero and
   drops them. A `VirtualClock::Scope` resets when it is made and when it is
   destroyed, so a test neither sees nor leaves time or timers of another.