You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don’t think I need help on this one but wanted to note this test likely needs to be re-written so it doesn’t depend on formatting that could legitimately vary between processors.
This test depends on the particular way citeproc-js applies formatting to names and so may not pass
for other CSL processors that nonetheless parse name particles correctly.
Specifically, it expects bold and italic pseudo-HTML to be applied separately to name particles
before they are appended to the given or family name. For example, with a main family name of
"George", this test would expect
<b>St. George</b><b>de</b><b>George</b>
identifying "de" as a non-dropping particle and "St." as part of the family name, not a particle.
From a formatting perspective, however, these are the same
<b>de George</b><b>de</b><b>George</b>
and so CSL processors may reasonably prefer the former, causing this test to fail incorrectly.
This kind of verification may be better suited to unit rather than integration testing. To that end, here, for reference, is the internal test I wrote to perform the same checks:
I don’t think I need help on this one but wanted to note this test likely needs to be re-written so it doesn’t depend on formatting that could legitimately vary between processors.
I added this description to the test in PR #68 :
This kind of verification may be better suited to unit rather than integration testing. To that end, here, for reference, is the internal test I wrote to perform the same checks:
I will try to rewrite the test in the suite myself after my current processor work reaches MVP.
The text was updated successfully, but these errors were encountered: