2 ms·
Sure. But declaring a validator to be a „unit“ seems a bit too fine grained. I think we agree you shouldn’t test everything. var value=10 assert(value, 10)
by andix 5y ago
Sure. But declaring a validator to be a „unit“ seems a bit too fine grained. I think we agree you shouldn’t test everything.
var value=10
assert(value, 10)
Would be such a test. Totally useless. Just duplication of logic.