diff options
author | Dustin Sallings <dustin@spy.net> | 2009-01-25 17:46:17 -0800 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-01-25 18:07:21 -0800 |
commit | d1979bc10fe73ef4cf56186e64342f26778caefb (patch) | |
tree | 613c1f019369f0e000af0ac134643deac5545bd2 /t | |
parent | a849144abe6c8bee0c444b759536e90062113352 (diff) | |
download | memcached-d1979bc10fe73ef4cf56186e64342f26778caefb.tar.gz |
Added prepend test.
Diffstat (limited to 't')
-rwxr-xr-x | t/binary.t | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -272,7 +272,14 @@ diag "Append"; $check->($key, 19, $value . " more"); } -diag "TODO: Prepend"; +diag "Prepend"; +{ + my $key = "prependkey"; + my $value = "some value"; + $set->($key, 8, 19, $value); + $mc->_append_prepend(::CMD_PREPEND, $key, "prefixed "); + $check->($key, 19, "prefixed " . $value); +} diag "TODO: Silent append"; |