Commits

Nikhil Marathe committed 254f48b

A few more tests

Comments (0)

Files changed (1)

 (dolist (x (:keys conn "*"))
   (println x " --> " (:get conn x)))
 
+(assert-equals (:getset conn "abcd" 666) "48")
+(assert-equals (:get conn "abcd") "666")
+
+(assert-equals (:setnx conn "abcd" 90) 0)
+
 (:close conn)
 
 ;(assert-fail (:get conn "minestrone:playlist:sXLruRrkPApP3eErshhqtE"))