New version of gnuplot creates /Title entry in dict - fixed test.
This commit is contained in:
parent
43d3fed888
commit
358feec650
|
@ -15,10 +15,11 @@ ok($ps2 =~ m/\(val1\) Rshow/, 'Postscript output of tsplot contains a column na
|
|||
|
||||
# title and creation date will be different, but the rest should be
|
||||
# identical:
|
||||
$ps1 =~ s/^%%Title: .*//m;
|
||||
$ps1 =~ s/^%%CreationDate: .*//m;
|
||||
$ps2 =~ s/^%%Title: .*//m;
|
||||
$ps2 =~ s/^%%CreationDate: .*//m;
|
||||
for ($ps1, $ps2) {
|
||||
s/^%%Title: .*//m;
|
||||
s/^%%CreationDate: .*//m;
|
||||
s/^ *\/Title \(.*\)//m;
|
||||
}
|
||||
ok($ps1 eq $ps2, 'output of tsplot and tsplotv are identical');
|
||||
|
||||
my $ps3=`./blib/script/tsplot --output_format ps --log_y t/1.data`;
|
||||
|
|
Loading…
Reference in New Issue