mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
Change many test blocks to doctests/decltests
This commit is contained in:
@@ -166,7 +166,7 @@ pub fn format(
|
||||
const expect = std.testing.expect;
|
||||
const expectError = std.testing.expectError;
|
||||
|
||||
test "format" {
|
||||
test format {
|
||||
// Many of these test strings are from https://github.com/semver/semver.org/issues/59#issuecomment-390854010.
|
||||
|
||||
// Valid version strings should be accepted.
|
||||
|
||||
Reference in New Issue
Block a user