Sha256: 7ad34a5ea1d4c2b37eaee0db46b5632102c1fa0864e2d420b2332bfc5c1b9f03

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

Feature: name
  As a CSL cite processor hacker
  I want the test name_SubstituteOnNumberGroupSpanFail to pass

  @citation @name
  Scenario: Substitute On Number Group Span Fail
    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="translator">
            <name />
            <substitute>
              <number variable="edition" />
              <group>
                <text variable="title" />
                <text prefix=", " value="... this should NOT appear" />
              </group>
            </substitute>
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Doe","given":"John","static-ordering":false}],"edition":"5","id":"item-1","issued":{"date-parts":[["2000"]]},"title":"His Anonymous Life","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    5
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/name/SubstituteOnNumberGroupSpanFail.feature
citeproc-1.0.6 features/name/SubstituteOnNumberGroupSpanFail.feature
citeproc-1.0.5 features/name/SubstituteOnNumberGroupSpanFail.feature
citeproc-1.0.4 features/name/SubstituteOnNumberGroupSpanFail.feature