Sha256: 68932f85556d32dd05e5026581a5021b9a6dd3b8563cf4ceb5b75b7791c6af35

Contents?: true

Size: 938 Bytes

Versions: 4

Compression:

Stored size: 938 Bytes

Contents

Feature: locale
  As a CSL cite processor hacker
  I want the test locale_SpecificTerm to pass

  @citation @locale
  Scenario: Specific Term
    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>
      <locale xml:lang="en">
        <terms>
          <term name="and others">weird term</term>
        </terms>
      </locale>
      <citation>
        <layout>
          <text variable="title" suffix=": "/>
          <text term="and others" prefix="(" suffix=")"/>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","title":"Sample Title","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    Sample Title: (weird term)
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/locale/SpecificTerm.feature
citeproc-1.0.6 features/locale/SpecificTerm.feature
citeproc-1.0.5 features/locale/SpecificTerm.feature
citeproc-1.0.4 features/locale/SpecificTerm.feature