diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..600d2d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vscode \ No newline at end of file diff --git a/processor-tests/humans/date_SortEmptyDatesBibliography.txt b/processor-tests/humans/date_SortEmptyDatesBibliography.txt index 75018ee..4b0ffdd 100644 --- a/processor-tests/humans/date_SortEmptyDatesBibliography.txt +++ b/processor-tests/humans/date_SortEmptyDatesBibliography.txt @@ -2,10 +2,13 @@ bibliography <<===== MODE =====<< + +>>===== DESCRIPTION =====>> Sort position of empty dates differs in citations and bibliographies. In citations, empty dates have a value equivalent to zero. In bibliographies, they are always placed at the end of the sort (whether ascending or descending). +<<===== DESCRIPTION =====<< >>===== RESULT =====>> diff --git a/processor-tests/humans/off-spec/README.md b/processor-tests/humans/off-spec/README.md new file mode 100644 index 0000000..094ed04 --- /dev/null +++ b/processor-tests/humans/off-spec/README.md @@ -0,0 +1,10 @@ +Tests in this folder expect behaviors that aren't defined in the [CSL Specification](https://docs.citationstyles.org/en/stable/specification.html). Each such test +should include a `DESCRIPTION` block describing its particular deviation. + +The specific disposition of these tests varies. For example, they may expect behavior that + +- should be added to a future version of the specification +- is useful but implemented in a way that needs to be re-worked before it can be added to the specification +- is specific to an internal process of [citeproc-js](https://github.com/Juris-M/citeproc-js) and so may belong among [its local tests](https://github.com/Juris-M/citeproc-js/tree/master/fixtures/local) + +CSL Processor authors and testers may omit tests in this folder if their purpose is simply to implement the specification. They may, however, find these tests useful if they also want to match the behavior of existing tools or software written according to these additional tests. \ No newline at end of file diff --git a/processor-tests/humans/sort_BibliographyCitationNumberAscendingSecondary.txt b/processor-tests/humans/off-spec/sort_BibliographyCitationNumberAscendingSecondary.txt similarity index 100% rename from processor-tests/humans/sort_BibliographyCitationNumberAscendingSecondary.txt rename to processor-tests/humans/off-spec/sort_BibliographyCitationNumberAscendingSecondary.txt diff --git a/processor-tests/humans/sort_BibliographyCitationNumberDescending.txt b/processor-tests/humans/off-spec/sort_BibliographyCitationNumberDescending.txt similarity index 100% rename from processor-tests/humans/sort_BibliographyCitationNumberDescending.txt rename to processor-tests/humans/off-spec/sort_BibliographyCitationNumberDescending.txt diff --git a/processor-tests/humans/sort_BibliographyCitationNumberDescendingSecondary.txt b/processor-tests/humans/off-spec/sort_BibliographyCitationNumberDescendingSecondary.txt similarity index 100% rename from processor-tests/humans/sort_BibliographyCitationNumberDescendingSecondary.txt rename to processor-tests/humans/off-spec/sort_BibliographyCitationNumberDescendingSecondary.txt diff --git a/processor-tests/humans/sort_BibliographyCitationNumberDescendingViaMacro.txt b/processor-tests/humans/off-spec/sort_BibliographyCitationNumberDescendingViaMacro.txt similarity index 100% rename from processor-tests/humans/sort_BibliographyCitationNumberDescendingViaMacro.txt rename to processor-tests/humans/off-spec/sort_BibliographyCitationNumberDescendingViaMacro.txt diff --git a/processor-tests/humans/sort_CitationNumberPrimaryDescendingViaMacroBibliography.txt b/processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaMacroBibliography.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberPrimaryDescendingViaMacroBibliography.txt rename to processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaMacroBibliography.txt diff --git a/processor-tests/humans/sort_CitationNumberPrimaryDescendingViaMacroCitation.txt b/processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaMacroCitation.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberPrimaryDescendingViaMacroCitation.txt rename to processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaMacroCitation.txt diff --git a/processor-tests/humans/sort_CitationNumberPrimaryDescendingViaVariableBibliography.txt b/processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaVariableBibliography.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberPrimaryDescendingViaVariableBibliography.txt rename to processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaVariableBibliography.txt diff --git a/processor-tests/humans/sort_CitationNumberPrimaryDescendingViaVariableCitation.txt b/processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaVariableCitation.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberPrimaryDescendingViaVariableCitation.txt rename to processor-tests/humans/off-spec/sort_CitationNumberPrimaryDescendingViaVariableCitation.txt diff --git a/processor-tests/humans/sort_CitationNumberSecondaryAscendingViaMacroBibliography.txt b/processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaMacroBibliography.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberSecondaryAscendingViaMacroBibliography.txt rename to processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaMacroBibliography.txt diff --git a/processor-tests/humans/sort_CitationNumberSecondaryAscendingViaMacroCitation.txt b/processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaMacroCitation.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberSecondaryAscendingViaMacroCitation.txt rename to processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaMacroCitation.txt diff --git a/processor-tests/humans/sort_CitationNumberSecondaryAscendingViaVariableBibliography.txt b/processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaVariableBibliography.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberSecondaryAscendingViaVariableBibliography.txt rename to processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaVariableBibliography.txt diff --git a/processor-tests/humans/sort_CitationNumberSecondaryAscendingViaVariableCitation.txt b/processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaVariableCitation.txt similarity index 100% rename from processor-tests/humans/sort_CitationNumberSecondaryAscendingViaVariableCitation.txt rename to processor-tests/humans/off-spec/sort_CitationNumberSecondaryAscendingViaVariableCitation.txt diff --git a/processor-tests/humans/punctuation_FrenchOrthography.txt b/processor-tests/humans/punctuation_FrenchOrthography.txt index 8a23388..c78f739 100644 --- a/processor-tests/humans/punctuation_FrenchOrthography.txt +++ b/processor-tests/humans/punctuation_FrenchOrthography.txt @@ -3,6 +3,7 @@ citation <<===== MODE =====<< +>>===== DESCRIPTION =====>> It may not be immediately apparent, but the spaces immediately inside the double angle quotes below are half-width no-break spaces ("narrow no-break space"). @@ -10,6 +11,8 @@ spaces ("narrow no-break space"). See http://en.wikipedia.org/wiki/Space_(punctuation)#Breaking_and_non-breaking_spaces and http://forums.zotero.org/discussion/4933/localized-quotes/#Comment_88384 for details. +<<===== DESCRIPTION =====<< + >>===== RESULT =====>> His « Anonymous » Life