Skip to content

Commit

Permalink
Replace cl-test-more by prove.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Jan 28, 2015
1 parent 0716b33 commit d6c3a76
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion sxql-test.asd
Expand Up @@ -12,7 +12,7 @@
:author "Eitaro Fukamachi"
:license "BSD 3-Clause"
:depends-on (:sxql
:cl-test-more)
:prove)
:components ((:module "t"
:serial t
:components
Expand Down
2 changes: 1 addition & 1 deletion t/clause.lisp
@@ -1,7 +1,7 @@
(in-package :cl-user)
(defpackage t.sxql.clause
(:use :cl
:cl-test-more
:prove
:sxql.sql-type
:sxql.operator
:sxql.clause
Expand Down
2 changes: 1 addition & 1 deletion t/composed-statement.lisp
Expand Up @@ -3,7 +3,7 @@
(:use :cl
:sxql
:sxql.composed-statement
:cl-test-more))
:prove))
(in-package :t.sxql.composed-statement)

(plan 6)
Expand Down
2 changes: 1 addition & 1 deletion t/operator.lisp
Expand Up @@ -4,7 +4,7 @@
:sxql
:sxql.sql-type
:sxql.operator
:cl-test-more)
:prove)
(:shadowing-import-from :t.sxql.prepare
:is-error))
(in-package :t.sxql.operator)
Expand Down
6 changes: 3 additions & 3 deletions t/prepare.lisp
@@ -1,14 +1,14 @@
(in-package :cl-user)
(defpackage t.sxql.prepare
(:use :cl
:cl-test-more)
:prove)
(:shadow :is-error)
(:export :is-error))
(in-package :t.sxql.prepare)

(defmacro is-error (form condition &optional desc)
#+ccl `(cl-test-more:is-error ,form ,condition ,desc)
#+ccl `(prove:is-error ,form ,condition ,desc)
#-ccl
(if (eq condition 'type-error)
'(skip 1 "Testing type-error isn't supported")
`(cl-test-more:is-error ,form ,condition ,desc)))
`(prove:is-error ,form ,condition ,desc)))
2 changes: 1 addition & 1 deletion t/sql-type.lisp
Expand Up @@ -3,7 +3,7 @@
(:use :cl
:sxql
:sxql.sql-type
:cl-test-more)
:prove)
(:shadowing-import-from :t.sxql.prepare
:is-error))
(in-package :t.sxql.sql-type)
Expand Down
2 changes: 1 addition & 1 deletion t/statement.lisp
Expand Up @@ -6,7 +6,7 @@
:sxql.operator
:sxql.clause
:sxql.statement
:cl-test-more)
:prove)
(:shadowing-import-from :t.sxql.prepare
:is-error))
(in-package :t.sxql.statement)
Expand Down
2 changes: 1 addition & 1 deletion t/sxql.lisp
Expand Up @@ -2,7 +2,7 @@
(defpackage t.sxql
(:use :cl
:sxql
:cl-test-more)
:prove)
(:import-from :sxql.sql-type
:yield)
(:shadowing-import-from :t.sxql.prepare
Expand Down

0 comments on commit d6c3a76

Please sign in to comment.