diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-06-11 11:45:02 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-06-11 12:21:27 -0600 |
commit | e9d26e7494522fd8c1820475c3e5918f8506d738 (patch) | |
tree | a43f28b31e58d1dd784ad833d3bef38210da84ac /t | |
parent | fc67deb3641ae65505a02c4a7414556efc6b91f6 (diff) | |
download | perl-e9d26e7494522fd8c1820475c3e5918f8506d738.tar.gz |
op/eval.t: Change test
A future commit will change the output for this test, so use another one
that generates a straight syntax error.
Diffstat (limited to 't')
-rw-r--r-- | t/op/eval.t | 2 |
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'); } |