Skip to content

Commit

Permalink
Confirm corporate authors working with BibInternal 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Oct 25, 2023
1 parent f34f965 commit 5ba0912
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/test_formatting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,13 @@ end
entry = bib.entries["OEIS"]

name = entry.authors[1]
dump(name)
@test_broken name.last == "OEIS Foundation Inc."
@test name.last == "{OEIS Foundation Inc.}"
@test name.first == ""
@test name.middle == ""
@test name.particle == ""

md(key) = format_bibliography_reference(Val(:numeric), bib.entries[key])
@test_broken md("OEIS") == "OEIS Foundation Inc. [*The On-Line Encyclopedia of Integer Sequences*](https://oeis.org). Published electronically at https://oeis.org (2023)."
@test md("OEIS") == "OEIS Foundation Inc. [*The On-Line Encyclopedia of Integer Sequences*](https://oeis.org). Published electronically at https://oeis.org (2023)."

nbsp = "\u00A0"
@test md("OEISworkaround") == "OEIS$(nbsp)Foundation$(nbsp)Inc. [*The On-Line Encyclopedia of Integer Sequences*](https://oeis.org). Published electronically at https://oeis.org (2023)."
Expand Down

0 comments on commit 5ba0912

Please sign in to comment.