Skip to content
Snippets Groups Projects
Commit 31d6dda6 authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Added testcase

parent c9eefb02
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,7 @@ test_equal((string)Standards.URI("g?y/../x", "http://a/b/c/d;p?q"), "http:/ ...@@ -95,6 +95,7 @@ test_equal((string)Standards.URI("g?y/../x", "http://a/b/c/d;p?q"), "http:/
test_equal((string)Standards.URI("g#s/./x", "http://a/b/c/d;p?q"), "http://a/b/c/g#s/./x") test_equal((string)Standards.URI("g#s/./x", "http://a/b/c/d;p?q"), "http://a/b/c/g#s/./x")
test_equal((string)Standards.URI("g#s/../x", "http://a/b/c/d;p?q"), "http://a/b/c/g#s/../x") test_equal((string)Standards.URI("g#s/../x", "http://a/b/c/d;p?q"), "http://a/b/c/g#s/../x")
test_equal((string)Standards.URI("http:g", "http://a/b/c/d;p?q"), "http:g") test_equal((string)Standards.URI("http:g", "http://a/b/c/d;p?q"), "http:g")
test_equal((string)Standards.URI("c?d=e", "http://a.b"), "http://a.b/c?d=e")
test_equal(Standards.URI("http://www.com/")->get_query_variables(),([])) test_equal(Standards.URI("http://www.com/")->get_query_variables(),([]))
test_equal(Standards.URI("http://www.com/?a=b")->get_query_variables(),(["a":"b"])) test_equal(Standards.URI("http://www.com/?a=b")->get_query_variables(),(["a":"b"]))
test_equal(Standards.URI("http://www.com/?a=b&a=b")->get_query_variables(),(["a":"b"])) test_equal(Standards.URI("http://www.com/?a=b&a=b")->get_query_variables(),(["a":"b"]))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment