Updated test.
h3rald h3rald@h3rald.com
Sat, 15 Jun 2024 15:15:50 +0200
1 files changed,
5 insertions(+),
4 deletions(-)
jump to
M
tests/http.min
→
tests/http.min
@@ -47,13 +47,14 @@ (request)
) tap /body from-json /data {} == ) *test/assert + ( {} ( - ("$1/delete" (url) => % %url) - ("DELETE" %method) + ("$1/delete" (url) => % "url" dset) + ("DELETE" "method" dset) (request) - ) tap /body from-json /url "https://$1/delete" (host) => % == - ) *test/assert + ) tap "body" dget from-json "url" dget "https?:\\/\\/$1/delete" (host) => % match? + ) test.assert *test/report clear-stack