2 ms·
Tests are never called explicitly by programmers, or at least they never should be. You could argue that they don’t really need to be functions at all, just pie
by seanmcdirmid 2y ago
Tests are never called explicitly by programmers, or at least they never should be. You could argue that they don’t really need to be functions at all, just pieces of code that represent tests.
- SwiftyBug 2y agoThat's how Zig tests work. This is basically a function with a different syntax. test "strip html tags from string" { ... }