Fix CI's parser

This commit is contained in:
blob1807
2024-04-13 01:14:55 +10:00
parent 6348b56c8b
commit a4d16e97a1
+8 -8
View File
@@ -533,22 +533,22 @@ split_url_test :: proc(t: ^testing.T) {
{ {
"http", "example.com", "/", "http", "example.com", "/",
{}, "Hellope", {}, "Hellope",
{"http://example.com#Hellope"} {"http://example.com#Hellope"},
}, },
{ {
"https", "odin-lang.org", "/", "https", "odin-lang.org", "/",
{"a" = ""}, "Hellope", {"a" = ""}, "Hellope",
{"https://odin-lang.org?a#Hellope"} {"https://odin-lang.org?a#Hellope"},
}, },
{ {
"http", "example.com", "/", "http", "example.com", "/",
{"a" = "b"}, "BeesKnees", {"a" = "b"}, "BeesKnees",
{"http://example.com?a=b#BeesKnees"} {"http://example.com?a=b#BeesKnees"},
}, },
{ {
"https", "odin-lang.org", "/docs/overview/", "https", "odin-lang.org", "/docs/overview/",
{}, "hellope", {}, "hellope",
{"https://odin-lang.org/docs/overview/#hellope"} {"https://odin-lang.org/docs/overview/#hellope"},
}, },
} }
@@ -630,22 +630,22 @@ join_url_test :: proc(t: ^testing.T) {
{ {
"http", "example.com", "/", "http", "example.com", "/",
{}, "Hellope", {}, "Hellope",
{"http://example.com/#Hellope"} {"http://example.com/#Hellope"},
}, },
{ {
"https", "odin-lang.org", "/", "https", "odin-lang.org", "/",
{"a" = ""}, "Hellope", {"a" = ""}, "Hellope",
{"https://odin-lang.org/?a#Hellope"} {"https://odin-lang.org/?a#Hellope"},
}, },
{ {
"http", "example.com", "/", "http", "example.com", "/",
{"a" = "b"}, "BeesKnees", {"a" = "b"}, "BeesKnees",
{"http://example.com/?a=b#BeesKnees"} {"http://example.com/?a=b#BeesKnees"},
}, },
{ {
"https", "odin-lang.org", "/docs/overview/", "https", "odin-lang.org", "/docs/overview/",
{}, "hellope", {}, "hellope",
{"https://odin-lang.org/docs/overview/#hellope"} {"https://odin-lang.org/docs/overview/#hellope"},
}, },
} }