Permalink
Browse files

Tweaked unit test to work with a newer gnuplot

  • Loading branch information...
1 parent a1f0149 commit bd5fb19f23d2fab37c532a75d177efc1b6677663 @dkogan committed Jul 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/plot.t
View
@@ -52,7 +52,7 @@ my $x = sequence(5);
my (undef, $testoutput) = tempfile('pdl_graphics_gnuplot_test_XXXXXXX');
eval{ plot ( terminal => 'dumb 79 24', output => $testoutput, with => 'bogus', $x); };
- ok($@ && $@ =~ /gnuplot>.*bogus.*expecting/s, 'error detection works' )
+ ok($@ && $@ =~ /gnuplot>.*bogus.*(?:expecting|unrecognized)/s, 'error detection works' )
or diag "plot() produced no error";
unlink $testoutput;

0 comments on commit bd5fb19

Please sign in to comment.