Skip to content

Commit

Permalink
Updated test.
Browse files Browse the repository at this point in the history
  • Loading branch information
h3rald committed Jun 15, 2024
1 parent d221cd1 commit bfcbd99
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/http.min
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@
) 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

0 comments on commit bfcbd99

Please sign in to comment.