Sha256: 4facfcb9cb3c119cafc65dbfb416ba0b1c6ab6a73d0d28b6b625f1a386773355

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

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

  @citation @name
  Scenario: Author Count With Same Var Content And Combined Term Succeed
    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 form="short" name="editortranslator">
            <single>ed. &#38; trans.</single>
            <multiple>eds. &#38; trans.</multiple>
          </term>
        </terms>
      </locale>
      <citation 
             et-al-min="4"
             et-al-use-first="3">
        <layout>
          <names variable="author editor">
            <name form="count" />
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"editor":[{"family":"Noakes","given":"John"},{"family":"Stoakes","given":"Richard"}],"id":"item-1","translator":[{"family":"Noakes","given":"John"},{"family":"Stoakes","given":"Richard"}],"type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    2
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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