aboutsummaryrefslogtreecommitdiff
path: root/test/test_slug.ml
Commit message (Collapse)AuthorAgeFilesLines
* test(kernel): cover Lang's sexp validation pathLukasz Kasprzak2026-08-111-1/+14
| | | | | | | | test_lang exercised only of_string. Add a sexp round-trip plus a check_raises proving a malformed-but-plausible code ("e1": right length, fails the lowercase rule) is rejected by t_of_sexp rather than silently accepted -- mirrors test_slug_sexp's guard against a future regression to [@@deriving sexp].
* kernel: Slug and Lang validated private stringsLukasz Kasprzak2026-08-111-0/+39
Both parse through a smart constructor returning result, and both hand-write t_of_sexp so a malformed value in a data file is rejected at load rather than silently accepted -- deriving the converter would have bypassed validation.