mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 20:00:09 +00:00
@@ -572,6 +572,11 @@ split_url_test :: proc(t: ^testing.T) {
|
||||
{"a" = "", "b" = ""},
|
||||
{"http://example.com/example?a&b"},
|
||||
},
|
||||
{
|
||||
"https", "example.com", "/callback",
|
||||
{"redirect" = "https://other.com/login"},
|
||||
{"https://example.com/callback?redirect=https://other.com/login"},
|
||||
},
|
||||
}
|
||||
|
||||
for test in test_cases {
|
||||
|
||||
Reference in New Issue
Block a user