summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/slabs_reassign.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/slabs_reassign.t b/t/slabs_reassign.t
index aac83fc..f06b0dc 100644
--- a/t/slabs_reassign.t
+++ b/t/slabs_reassign.t
@@ -54,12 +54,12 @@ ok($slabs_before->{"25:total_pages"} != $slabs_after->{"25:total_pages"},
# Try to move another slab, see that it complains
print $sock "slabs reassign 31 25\r\n";
-is(scalar <$sock>, "NOTFULL dest class has spare memory\r\n", "Cannot re-run against class with empty space");
+like(scalar <$sock>, qr/^NOTFULL/, "Cannot re-run against class with empty space");
# Try to move a page backwards. Should complain that source class isn't "safe"
# to move from.
print $sock "slabs reassign 25 31\r\n";
-is(scalar <$sock>, "UNSAFE src class is in an unsafe state\r\n", "Cannot move an unsafe slab back");
+like(scalar <$sock>, qr/^UNSAFE/, "Cannot move an unsafe slab back");
# Try to insert items into both slabs
print $sock "set bfoo51 0 0 70000\r\n", $bigdata, "\r\n";