mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
Move rounded tests
This commit is contained in:
@@ -531,9 +531,9 @@ split_url_test :: proc(t: ^testing.T) {
|
|||||||
{"https://example.com/callback?redirect=https://other.com/login"},
|
{"https://example.com/callback?redirect=https://other.com/login"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"http", "odin-lang.org", "/",
|
"http", "example.com", "/",
|
||||||
{}, "Hellope",
|
{}, "Hellope",
|
||||||
{"http://odin-lang.org#Hellope"}
|
{"http://example.com#Hellope"}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"https", "odin-lang.org", "/",
|
"https", "odin-lang.org", "/",
|
||||||
@@ -542,13 +542,13 @@ split_url_test :: proc(t: ^testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"http", "example.com", "/",
|
"http", "example.com", "/",
|
||||||
{"a" = "b"}, "Hellope",
|
{"a" = "b"}, "BeesKnees",
|
||||||
{"http://example.com?a=b#Hellope"}
|
{"http://example.com?a=b#BeesKnees"}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"https", "example.com", "/example",
|
"https", "odin-lang.org", "/docs/overview/",
|
||||||
{}, "Hellope",
|
{}, "hellope",
|
||||||
{"https://example.com/example#Hellope"}
|
{"https://odin-lang.org/docs/overview/#hellope"}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -628,24 +628,24 @@ join_url_test :: proc(t: ^testing.T) {
|
|||||||
{"http://example.com/example?a&b", "http://example.com/example?b&a"},
|
{"http://example.com/example?a&b", "http://example.com/example?b&a"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"http", "odin-lang.org", "",
|
"http", "example.com", "/",
|
||||||
{}, "Hellope",
|
{}, "Hellope",
|
||||||
{"http://odin-lang.org#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"}, "Hellope",
|
{"a" = "b"}, "BeesKnees",
|
||||||
{"http://example.com?a=b#Hellope"}
|
{"http://example.com/?a=b#BeesKnees"}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"https", "example.com", "/example",
|
"https", "odin-lang.org", "/docs/overview/",
|
||||||
{}, "Hellope",
|
{}, "hellope",
|
||||||
{"https://example.com/example#Hellope"}
|
{"https://odin-lang.org/docs/overview/#hellope"}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user