diff options
Diffstat (limited to 'test/errchk')
-rwxr-xr-x | test/errchk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/errchk b/test/errchk index ab7192da2..d65899be6 100755 --- a/test/errchk +++ b/test/errchk @@ -68,8 +68,8 @@ foreach $src (@src) { } $regexp = $1; - @errmsg = grep { /$file:$line:/ } @out; - @out = grep { !/$file:$line:/ } @out; + @errmsg = grep { /$file:$line[:[]/ } @out; + @out = grep { !/$file:$line[:[]/ } @out; if(@errmsg == 0) { bug(); print STDERR "errchk: $file:$line: missing expected error: '$regexp'\n"; |