summaryrefslogtreecommitdiff
path: root/t/op/sub_lval.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/sub_lval.t')
-rwxr-xr-xt/op/sub_lval.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/sub_lval.t b/t/op/sub_lval.t
index 350cb65e1a..4654118fa1 100755
--- a/t/op/sub_lval.t
+++ b/t/op/sub_lval.t
@@ -251,7 +251,7 @@ eval <<'EOE' or $_ = $@;
EOE
print "# '$_'.\nnot "
- unless /Can\'t return a readonly value from lvalue subroutine/;
+ unless /Empty array returned from lvalue subroutine in scalar context/;
print "ok 31\n";
sub lv10 : lvalue {}