Sha256: 143e09d4aa02f4efff819c11049e4de21178f74fa6ae159efd112fee7bbcbbf0

Contents?: true

Size: 940 Bytes

Versions: 4

Compression:

Stored size: 940 Bytes

Contents

Feature: position
  As a CSL cite processor hacker
  I want the test position_NearNoteUnsupported to pass

  @citation @position
  Scenario: Near Note Unsupported
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="in-text"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation>
        <layout>
          <choose>
            <if position="near-note">
              <text value="Note is near!" />
            </if>
            <else>
              <text value="Note is not near." />
            </else>
          </choose>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"Book A","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Note is not near.
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/position/NearNoteUnsupported.feature
citeproc-1.0.6 features/position/NearNoteUnsupported.feature
citeproc-1.0.5 features/position/NearNoteUnsupported.feature
citeproc-1.0.4 features/position/NearNoteUnsupported.feature