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 b39939d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/test_formatting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,17 +176,18 @@ 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)."
@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)."


end

0 comments on commit b39939d

Please sign in to comment.