Skip to content

Commit

Permalink
* test/fast_check.sh: Reject numerical month.
Browse files Browse the repository at this point in the history
 * articles.bib (MarCavHer2023repr): Fix.
  • Loading branch information
MLopez-Ibanez committed May 29, 2024
1 parent 94402f8 commit f1ad617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion articles.bib
Original file line number Diff line number Diff line change
Expand Up @@ -12259,7 +12259,7 @@ @Article{MarCavHer2023repr
journal = ec,
year = 2023,
pages = {1--35},
month = 11,
month = nov,
issn = {1063-6560},
doi = {10.1162/evco_a_00317},
publisher = {MIT Press},
Expand Down
1 change: 1 addition & 0 deletions test/fast_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ FILES=$@


check_bad_thing "^\s*\(author\|editor\)\s\+=.*[[:space:]\"{][[:space:]]*[A-Z]\.\([A-Z]\.\)\+" "Author or editor initials must be separated by a space"
check_bad_thing "^\s*month\s*=\s*[{\"]\?[0-9]" "Please do not use numbers for 'month', use jan, feb, mar, ..., nov, dec." "-e"
check_bad_thing "^\s*\(biburl\|timestamp\|article-number\|copyright\)" "Please remove these fields" "--ignore-case -e"
check_bad_thing "^\s*journaltitle" "'journaltitle' should be just 'journal'" "--ignore-case -e"
check_bad_thing "doi[[:space:]]*=.\+http" "the doi field should not be an URL"
Expand Down

0 comments on commit f1ad617

Please sign in to comment.