mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:31:41 +03:00
tests: fix perl scalar warning
Fixes the warning "Scalar value @xml[0] better written as $xml[0]"
Follow-up to b5ea0736bb
Ref: #19946
This commit is contained in:
parent
72f55c1c12
commit
e0a77ec90f
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ sub loadtest {
|
|||
print STDERR "file $file is empty!\n";
|
||||
return 1;
|
||||
}
|
||||
my $prolog = @xml[0];
|
||||
my $prolog = $xml[0];
|
||||
chomp $prolog;
|
||||
if($prolog ne '<?xml version="1.0" encoding="US-ASCII"?>') {
|
||||
print STDERR "file $file missing the XML prolog!\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue