Skip to content

Commit

Permalink
add a binary touch test that actaully fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dormando committed Jul 30, 2012
1 parent 1d0978c commit 7051da9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions t/binary.t
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ is($mc->decr("x", 211), 0, "Floor is zero");
$check->("totouch", 0, "toast2");

# Test miss as well
$mc->set("totouch", "toast3", 0, 1);
my $res = $mc->touch("totouch", 1);
sleep 3;
$empty->("totouch");
}

# diag "Silent set.";
Expand Down

0 comments on commit 7051da9

Please sign in to comment.