test: fix an assertion that did not assert anything
1 files changed, 1 insertions(+), 1 deletions(-) M test/clj_branca/core_test.clj
M test/clj_branca/core_test.clj => test/clj_branca/core_test.clj +1 -1
@@ 18,7 18,7 @@ new-token (branca/encode +key+ (.getBytes "hello"))] (is (= 1234 (:timestamp (branca/decode* +key+ old-token nil)))) (is (thrown-with-msg? clojure.lang.ExceptionInfo #"Expired token" (branca/decode +key+ old-token {:ttl 3600}))) (is (.getBytes "hello") (branca/decode +key+ new-token {:ttl 3600})))) (is (= "hello" (String. (branca/decode +key+ new-token {:ttl 3600})))))) (deftest failure-test (testing "malformed key throws"