Skip to content

Commit

Permalink
TESTS/TIME: fix SBCL style warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack committed Sep 30, 2019
1 parent e180b52 commit 9743d1b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/time.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
(testing "is 16 characters in length"
(ok (= 16 (length (cl-kraken/src/time:generate-kraken-nonce)))))
(testing "is continually increasing"
(let ((old-nonce (parse-integer (cl-kraken/src/time:generate-kraken-nonce)))
(_ (sleep 0.001))
(new-nonce (parse-integer (cl-kraken/src/time:generate-kraken-nonce))))
(ok (> new-nonce old-nonce)))))
(let ((old-nonce (parse-integer (cl-kraken/src/time:generate-kraken-nonce))))
(sleep 0.001)
(ok (> (parse-integer (cl-kraken/src/time:generate-kraken-nonce)) old-nonce)))))

0 comments on commit 9743d1b

Please sign in to comment.