40ants / 40ants/cl-hamcrest

Update documentation because assert-that does not produce nice strings under the Rove

Aperta
#22 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
Common Lisp
Stelle
19
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Previously, when used under Prove, `assert-that` call produced a nice output:

```lisp
TEST> (assert-that task
(has-slots 'title "The title "))
✓ Has slots:
TITLE = "The title "
```

However, for Rove, it just returns `t` or `nil`.

We need to create a helper for a demonstration of a matcher without a call to `assert-that`. And to rewrite all docstrings to use this helper.

This way, all examples in the documentation will become easily reproducible.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.