lazytest

seancorfield 2025-12-06T17:31:51.040219Z

Calls to ok? should be wrapped in expect, yes? I just noticed that next.jdbc has some unwrapped calls: https://github.com/seancorfield/next-jdbc/blob/10cc525458e38436402a668c446b22c7b27774f5/test/next/jdbc_test.clj#L30-L40

2025-12-06T22:43:13.989579Z

yes, ok? is not an assert, it's a helper that returns true if nothing is thrown

2025-12-06T22:48:40.054659Z

i gotta stop answering questions while making dinner, i can't think straight lol

2025-12-06T22:49:29.250339Z

expect fails if given a falsely value, so you use ok? as a mirror of thrown? to assert that regardless of the returned value, it doesn't throw