add test for command line parsing - clic - Clic is an command line interactive client for gopher written in Common LISP HTML git clone git://bitreich.org/clic/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/clic/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 4c947fdfb4a057cb6e99ac41d836369a415c6138 DIR parent 57f78f913e5b7552b1047dc7bafb8f2f6c5fd703 HTML Author: Solene Rapenne <solene@perso.pw> Date: Sun, 5 Nov 2017 16:54:28 +0000 add test for command line parsing Diffstat: M test.lisp | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) --- DIR diff --git a/test.lisp b/test.lisp @@ -1,5 +1,11 @@ ;; we can write scenario here +(print (parse-url "gopher://perso.pw:70/0/")) +(print (parse-url "gopher://perso.pw/0/a")) +(print (parse-url "perso.pw/0/some/uri.txt")) +(print (parse-url "perso.pw")) +(print (parse-url "perso.pw:70")) + (p) (g 2) (getpage "bitreich.org" 70 "/")