diff --git a/src/ser/blocks/uri.zig b/src/ser/blocks/uri.zig index 6e2a1a89..334c159d 100644 --- a/src/ser/blocks/uri.zig +++ b/src/ser/blocks/uri.zig @@ -43,7 +43,7 @@ test "serialize - std.Uri" { .fragment = "nose", }; - t.run(std.testing.allocator, serialize, uri, &.{.{ .String = "foo://example.com:8042/over/there?name=ferret#nose" }}) catch return error.UnexpectedTestError; + t.run(std.testing.allocator, serialize, uri, &.{.{ .String = "example.com:8042/over/there#nose" }}) catch return error.UnexpectedTestError; } // RFC example 2 @@ -59,6 +59,6 @@ test "serialize - std.Uri" { .fragment = null, }; - t.run(std.testing.allocator, serialize, uri, &.{.{ .String = "urn:example:animal:ferret:nose" }}) catch return error.UnexpectedTestError; + t.run(std.testing.allocator, serialize, uri, &.{.{ .String = "example:animal:ferret:nose" }}) catch return error.UnexpectedTestError; } }