aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-12-28 17:42:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-12-28 17:42:46 +0300
commit7855a05b15356731a0c2c8d951d2c1ffeb325311 (patch)
tree601f3018c1f779ef9ca49c73be510e89dde3c210 /tests
parentdd8858c02db1655443dd16dfb5670180b5d01d83 (diff)
Add url tests
Diffstat (limited to 'tests')
-rw-r--r--tests/url/testscript20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/url/testscript b/tests/url/testscript
index d81f282..da8f970 100644
--- a/tests/url/testscript
+++ b/tests/url/testscript
@@ -88,6 +88,26 @@ $*
[null]
EOO
+ : query
+ :
+ $* 'http://localhost?q' >>EOO
+ http
+ @localhost:0 name
+ [null]
+ q
+ [null]
+ EOO
+
+ : fragment
+ :
+ $* 'http://localhost#master' >>EOO
+ http
+ @localhost:0 name
+ [null]
+ [null]
+ master
+ EOO
+
: trailing
:
$* 'http://localhost' >>EOO