Commit graph

7 commits

Author SHA1 Message Date
Pagwin
d31bf0233e
swap hedgehog out for QuickCheck
The test suite now runs on tasty + tasty-quickcheck. Translation is
mechanical: `property`/`forAll`/`lift` become
`monadicIO`/`pick`/`run`, `success`/`fail` become `pure ()`/`stop`
with a counterexample, and Hedgehog's ranged generators are replaced
by a `linear` helper that scales with QuickCheck's size parameter.
Shrinking is dropped since QuickCheck can't shrink these while keeping
the generated text within the ranges the assertions assume.

The expected-value patterns were also stale relative to the IR
(`LI`'s `child` field is gone, blocks carry a trailing `Attrs`, list
types carry a `style`), so they've been updated to match. The
structural checks are otherwise unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 15:39:36 -04:00
Pagwin
4b40fa19ad
fixed HTML block case, and greedy plain inline text 2025-12-13 16:53:23 -05:00
Pagwin
132496cdca
removed debug log and handled list newlines correctly, this was concerningly easy 2025-12-13 16:11:16 -05:00
Pagwin
01877943a1
the infinite loops are over and the debug loop begins 2025-12-12 13:42:37 -05:00
Pagwin
8c8457e431
fixed tests 2025-12-11 21:43:27 -05:00
Pagwin
cd0cf5f016
fixed a test and then passed it 2025-12-05 20:07:19 -05:00
Pagwin
c4ff078785
moved everything into src for ease of testing 2025-12-05 19:42:15 -05:00