Change many test blocks to doctests/decltests

This commit is contained in:
Ryan Liptak
2024-02-26 15:14:43 -08:00
parent 16b3d1004e
commit 726a1149e0
51 changed files with 143 additions and 145 deletions
+1 -1
View File
@@ -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.