From 712654d4c023a2ab13190c6905d313e0ba897965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 2 Oct 2023 19:26:40 +0200 Subject: Rewrite test running system. --- tests/test/webdav-util.scm | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 tests/test/webdav-util.scm (limited to 'tests/test/webdav-util.scm') diff --git a/tests/test/webdav-util.scm b/tests/test/webdav-util.scm deleted file mode 100644 index 5c89cf6c..00000000 --- a/tests/test/webdav-util.scm +++ /dev/null @@ -1,29 +0,0 @@ -(define-module (test webdav-util) - :use-module (srfi srfi-64) - :use-module (srfi srfi-64 test-error) - :use-module (srfi srfi-71) - :use-module (srfi srfi-88) - :use-module (calp webdav resource base)) - -(test-group "string->href" - (test-equal "Root path becomes null" - '() (string->href "/")) - (test-equal "Trailing slashes are ignored" - '("a" "b") (string->href "/a/b/"))) - -(test-group "href->string" - (test-equal "Null case becomes root path" - "/" (href->string '())) - (test-equal "Trailing slashes are not added" - "/a/b" (href->string '("a" "b")))) - -(test-group "href-relative" - (test-equal '("a" "b") (href-relative '() '("a" "b"))) - (test-equal '("b") (href-relative '("a") '("a" "b"))) - (test-equal '() (href-relative '("a" "b") '("a" "b"))) - - (test-error 'misc-error - (href-relative '("c") '("a" "b"))) - - (test-error 'misc-error - (href-relative '("c") '()))) -- cgit v1.2.3