mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-06 02:34:05 +00:00
Fix CI's parser
This commit is contained in:
@@ -533,22 +533,22 @@ split_url_test :: proc(t: ^testing.T) {
|
||||
{
|
||||
"http", "example.com", "/",
|
||||
{}, "Hellope",
|
||||
{"http://example.com#Hellope"}
|
||||
{"http://example.com#Hellope"},
|
||||
},
|
||||
{
|
||||
"https", "odin-lang.org", "/",
|
||||
{"a" = ""}, "Hellope",
|
||||
{"https://odin-lang.org?a#Hellope"}
|
||||
{"https://odin-lang.org?a#Hellope"},
|
||||
},
|
||||
{
|
||||
"http", "example.com", "/",
|
||||
{"a" = "b"}, "BeesKnees",
|
||||
{"http://example.com?a=b#BeesKnees"}
|
||||
{"http://example.com?a=b#BeesKnees"},
|
||||
},
|
||||
{
|
||||
"https", "odin-lang.org", "/docs/overview/",
|
||||
{}, "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", "/",
|
||||
{}, "Hellope",
|
||||
{"http://example.com/#Hellope"}
|
||||
{"http://example.com/#Hellope"},
|
||||
},
|
||||
{
|
||||
"https", "odin-lang.org", "/",
|
||||
{"a" = ""}, "Hellope",
|
||||
{"https://odin-lang.org/?a#Hellope"}
|
||||
{"https://odin-lang.org/?a#Hellope"},
|
||||
},
|
||||
{
|
||||
"http", "example.com", "/",
|
||||
{"a" = "b"}, "BeesKnees",
|
||||
{"http://example.com/?a=b#BeesKnees"}
|
||||
{"http://example.com/?a=b#BeesKnees"},
|
||||
},
|
||||
{
|
||||
"https", "odin-lang.org", "/docs/overview/",
|
||||
{}, "hellope",
|
||||
{"https://odin-lang.org/docs/overview/#hellope"}
|
||||
{"https://odin-lang.org/docs/overview/#hellope"},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user