Skip to content

Commit

Permalink
remove: uiop
Browse files Browse the repository at this point in the history
  • Loading branch information
ivixvi committed Jan 4, 2025
1 parent 395d8f9 commit 68458c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion greeting.asd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
:in-order-to ((test-op (test-op "greeting/tests"))))

(asdf:defsystem "greeting/tests"
:depends-on ("greeting" "rove" "uiop")
:depends-on ("greeting" "rove")
:pathname "tests/"
:components ((:file "main"))
:perform (test-op (o c) (symbol-call :greeting/tests :run-test)))
12 changes: 2 additions & 10 deletions tests/main.lisp
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
(defpackage :greeting/tests
(:use :cl
:rove
:uiop
:greeting))
(in-package :greeting/tests)

(rove:deftest test-hello1
(testing "hello common lisp"
(ok (string= (greeting:hello "common lisp") "Hello common lisp!")))
)

(rove:deftest test-hello2
(testing "ng case"
(ng (string= (greeting:hello "common lisp") "Hello world!")))
)

(ok (string= (greeting:hello "common lisp") "Hello common lisp!"))))

(defun run-test ()
(unless
(rove:run :greeting/tests)
(uiop:quit 1)))
(error "Failed tests.")))

0 comments on commit 68458c9

Please sign in to comment.