Sha256: ad396b03e2956b7f6f829bc7f27fd9b978bbf9509bd54045ecd32df3a934b27c

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

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

  @citation @locale
  Scenario: Title Case Garbage Lang Empty Locale
    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 delimiter="; ">
          <text variable="title" text-case="title"/>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"id":"ITEM-1","language":"fr French language","title":"His anonymous life","type":"book"},{"id":"ITEM-2","language":"en--other stuff commenting about the lingo","title":"His anonymous life","type":"book"},{"id":"ITEM-3","language":"french language","title":"His anonymous life","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    His anonymous life; His Anonymous Life; His anonymous life
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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