summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/op/eval.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/eval.t b/t/op/eval.t
index e9a6996db8..20f459a9cc 100644
--- a/t/op/eval.t
+++ b/t/op/eval.t
@@ -437,7 +437,7 @@ is($got, "ok\n", 'eval and last');
{
no warnings;
- eval "/ /b;";
+ eval "&& $b;";
like($@, qr/^syntax error/, 'eval syntax error, no warnings');
}