88 |
} |
} |
89 |
|
|
90 |
warn "No #errors section ($test->{data}->[0])" unless $test->{errors}; |
warn "No #errors section ($test->{data}->[0])" unless $test->{errors}; |
91 |
|
|
92 |
|
@errors = sort {$a cmp $b} @errors; |
93 |
|
@{$test->{errors}->[0]} = sort {$a cmp $b} @{$test->{errors}->[0] ||= []}; |
94 |
|
|
95 |
ok join ("\n", @errors), join ("\n", @{$test->{errors}->[0] or []}), |
ok join ("\n", @errors), join ("\n", @{$test->{errors}->[0] or []}), |
96 |
'Parse error: ' . Data::Dumper::qquote ($test->{data}->[0]) . '; ' . |
'Parse error: ' . Data::Dumper::qquote ($test->{data}->[0]) . '; ' . |
103 |
|
|
104 |
my @FILES = grep {$_} split /\s+/, qq[ |
my @FILES = grep {$_} split /\s+/, qq[ |
105 |
${test_dir_name}elements-1.dat |
${test_dir_name}elements-1.dat |
|
${test_dir_name}cdata-1.dat |
|
106 |
${test_dir_name}attrs-1.dat |
${test_dir_name}attrs-1.dat |
107 |
|
${test_dir_name}texts-1.dat |
108 |
|
${test_dir_name}cdata-1.dat |
109 |
${test_dir_name}tree-1.dat |
${test_dir_name}tree-1.dat |
110 |
${test_dir_name}ns-attrs-1.dat |
${test_dir_name}ns-attrs-1.dat |
111 |
${test_dir_name}doctypes-1.dat |
${test_dir_name}doctypes-1.dat |