Sha256: c2db663db42d8db0b75d6a0b4bcd8d97b46061148199d571173546a833dfc349

Contents?: true

Size: 1006 Bytes

Versions: 4

Compression:

Stored size: 1006 Bytes

Contents

Feature: condition
  As a CSL cite processor hacker
  I want the test condition_EmptyIsUncertainDateFalse to pass

  @citation @condition
  Scenario: Empty Is Uncertain Date False
    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>
          <choose>
            <if is-uncertain-date="issued">
              <text value="empty issued is uncertain"/>
            </if>
            <else>
              <text value="empty issued is not uncertain"/>
            </else>
          </choose>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"His Anonymous Life","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    empty issued is not uncertain
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/condition/EmptyIsUncertainDateFalse.feature
citeproc-1.0.6 features/condition/EmptyIsUncertainDateFalse.feature
citeproc-1.0.5 features/condition/EmptyIsUncertainDateFalse.feature
citeproc-1.0.4 features/condition/EmptyIsUncertainDateFalse.feature