Sha256: aad756e249e5fb77df40eb3da6bd674f99162194326ea80fa647e3dc8fa184fc

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

Feature: date
  As a CSL cite processor hacker
  I want the test date_NonexistentSortReverseCitation to pass

  @citation @date
  Scenario: Nonexistent Sort Reverse Citation
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation>
        <sort>
          <key sort="ascending" variable="issued" />
          <key variable="title" />
        </sort>
        <layout delimiter="; ">
          <text variable="title" />
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"Item 1","type":"book"},{"id":"ITEM-2","issued":{"date-parts":[["1999","2","15"]]},"title":"Item 2","type":"book"},{"id":"ITEM-3","title":"Item 3","type":"book"},{"id":"ITEM-4","issued":{"date-parts":[["2000","2","15"]]},"title":"Item 4","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Item 2; Item 4; Item 1; Item 3
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/date/NonexistentSortReverseCitation.feature
citeproc-1.0.6 features/date/NonexistentSortReverseCitation.feature
citeproc-1.0.5 features/date/NonexistentSortReverseCitation.feature
citeproc-1.0.4 features/date/NonexistentSortReverseCitation.feature