Skip to content

Commit

Permalink
#107 test
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 3, 2024
1 parent da000e9 commit 56557a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bibcop.pl
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ sub check_author {
if ($name =~ /^[A-Z][^.]+$/) {
next
}
if ($name =~ /^(van|de|der)$/) {
if ($name =~ /^(van|de|der|dos)$/) {
next
}
if ($name =~ /^[A-Z]$/) {
Expand Down
1 change: 1 addition & 0 deletions perl-tests/checks.pl
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ package bibcop;
check_passes($f, ('author' => 'de Mattos Fortes, Renata Pontin'));
check_passes($f, ('author' => 'van Buren, Andre'));
check_passes($f, ('author' => 'van der Meulen, Meine J. P.'));
check_passes($f, ('author' => 'dos Santos Carapu{\c{c}}a, Rog{\\\'e}rio'));

$f = 'check_capitalization';
check_fails($f, ('title' => 'The TeX book'));
Expand Down

0 comments on commit 56557a6

Please sign in to comment.