Sha256: bb7b563a5c37a4b69e1c7f8629f33520b0ae0f549ca29de2370b14b782a721b4

Contents?: true

Size: 978 Bytes

Versions: 4

Compression:

Stored size: 978 Bytes

Contents

Feature: plural
  As a CSL cite processor hacker
  I want the test plural_NameLabelNever to pass

  @citation @plural
  Scenario: Name Label Never
    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>
        <layout>
          <names variable="editor">
            <name and="text" form="short" suffix=" " />
            <label form="short" plural="never" strip-periods="true" />
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"editor":[{"family":"Doe","given":"John","static-ordering":false},{"family":"Roe","given":"Jane","static-ordering":false}],"id":"ITEM-1","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Doe and Roe ed
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/plural/NameLabelNever.feature
citeproc-1.0.6 features/plural/NameLabelNever.feature
citeproc-1.0.5 features/plural/NameLabelNever.feature
citeproc-1.0.4 features/plural/NameLabelNever.feature