summaryrefslogtreecommitdiff
path: root/tests/unit/type/incr.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/type/incr.tcl')
-rw-r--r--tests/unit/type/incr.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/type/incr.tcl b/tests/unit/type/incr.tcl
index 7732921d9..a64f357ae 100644
--- a/tests/unit/type/incr.tcl
+++ b/tests/unit/type/incr.tcl
@@ -9,6 +9,10 @@ start_server {tags {"incr"}} {
r incr novar
} {2}
+ test {DECR against key created by incr} {
+ r decr novar
+ } {1}
+
test {INCR against key originally set with SET} {
r set novar 100
r incr novar