summaryrefslogtreecommitdiff
path: root/t/incrdecr.t
diff options
context:
space:
mode:
Diffstat (limited to 't/incrdecr.t')
-rwxr-xr-xt/incrdecr.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/incrdecr.t b/t/incrdecr.t
index bce9af3..83153c7 100755
--- a/t/incrdecr.t
+++ b/t/incrdecr.t
@@ -61,5 +61,7 @@ is(scalar <$sock>, "NOT_FOUND\r\n", "can't incr bogus key");
print $sock "set text 0 0 2\r\nhi\r\n";
is(scalar <$sock>, "STORED\r\n", "stored text");
print $sock "incr text 1\r\n";
-is(scalar <$sock>, "1\r\n", "hi - 1 = 0");
+is(scalar <$sock>,
+ "CLIENT_ERROR cannot increment or decrement non-numeric value\r\n",
+ "hi - 1 = 0");