diff --git a/.github/scripts/typos.toml b/.github/scripts/typos.toml index e19434764e..ab784b40b3 100644 --- a/.github/scripts/typos.toml +++ b/.github/scripts/typos.toml @@ -6,7 +6,7 @@ extend-ignore-identifiers-re = [ "(ba|BA|fo|Fo|FU|Iy|ND|OT|pn|PN|ue|UE)", "(anc|bck|ben|CNA|ECT|EDE|edn|ein|Jod|kno|MEK|Nam|Ned|noo|nin|nto|ser|ths|Typ|typ|URE|wrk)", - "(admi|alue|CLEA|clen|dout|GOST|HELO|helo|htpt|inex|PARM|parm|PASE)", + "(admi|alue|CLEA|clen|dout|GOST|HELO|helo|htpt|PARM|parm|PASE)", "(HEADE|numer|optin|parms|stati|ttests)", "(Januar|passin|Passiv|perfec|PUNICODE|TEMPLAT|varius)", ] diff --git a/tests/test1173.pl b/tests/test1173.pl index 2faf472308..9b384ded78 100755 --- a/tests/test1173.pl +++ b/tests/test1173.pl @@ -134,7 +134,7 @@ sub scanmanpage { my ($file) = @_; my $reqex = 0; my $inseealso = 0; - my $inex = 0; + my $inexample = 0; my $insynop = 0; my $exsize = 0; my $synopsize = 0; @@ -166,18 +166,18 @@ sub scanmanpage { if(($_ =~ /^\.SH SYNOPSIS/i) && ($reqex)) { # this is for libcurl manpage SYNOPSIS checks $insynop = 1; - $inex = 0; + $inexample = 0; } elsif($_ =~ /^\.SH EXAMPLE/i) { $insynop = 0; - $inex = 1; + $inexample = 1; } elsif($_ =~ /^\.SH \"SEE ALSO\"/i) { $inseealso = 1; } elsif($_ =~ /^\.SH/i) { $insynop = 0; - $inex = 0; + $inexample = 0; } elsif($inseealso) { if($_ =~ /^\.BR (.*)/i) { @@ -206,7 +206,7 @@ sub scanmanpage { } } } - elsif($inex) { + elsif($inexample) { $exsize++; if($_ =~ /[^\\]\\n/) { print STDERR "$file:$line '\\n' need to be '\\\\n'!\n";