summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/requests.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/requests.scm b/tests/requests.scm
index 15cee77..727a886 100644
--- a/tests/requests.scm
+++ b/tests/requests.scm
@@ -55,10 +55,10 @@
(test-group "Encodes array in querystring"
(define url (neocities-url
"info" #:hostname "neocities.org" #:port 80
- #:querystring '(("file" . ("COSA CON ESPACIOS" "otra cosa")))))
+ #:querystring '(("file[]" . ("COSA CON ESPACIOS" "otra cosa")))))
(test-assert (string=?
(uri-query url)
- "file[]=COSA%20CON%20ESPACIOS&file[]=otra%20cosa")))
+ "file%5B%5D=COSA%20CON%20ESPACIOS&file%5B%5D=otra%20cosa")))
(test-end "URL")