Sha256: b3e4791f8ef5e0b27fe081116e6ce7ac0b89018a8d0a3b41b91edfe7535c0b23
Contents?: true
Size: 1.28 KB
Versions: 6
Compression:
Stored size: 1.28 KB
Contents
Feature: BibTeX Strings As a hacker who works with bibliographies I want to be able to parse BibTeX files containing string assignments Scenario: A BibTeX file with string assignments When I parse the following file: """ %% %% This is a valid BibTeX file %% String assignments Test %% @string{foo="bar"} @ string{foo="bar"} @string {foo="bar"} @string{ foo="bar"} @string{foo ="bar"} @string{foo= "bar"} @string{foo="bar" } @ string { foo = "bar" } @string { foo= "bar"} @string{ foo = "bar" } @string{foo="bar"} @string{foo="'bar'"} @string{foo="{"}bar{"}"} Using some interesting symbols @string{foo="@bar@"} @string{foo="'bar'"} @string{foo="{"}bar{"}"} @string{foo="{bar}"} """ Then my bibliography should contain the following objects: | type | value | | string | bar | | string | bar | | string | bar | | string | bar | | string | bar | | string | bar | | string | bar | | string | bar | | string | bar | | string | bar | | string | bar | | string | 'bar' | | string | {"}bar{"} | | string | @bar@ | | string | 'bar' | | string | {"}bar{"} | | string | {bar} |
Version data entries
6 entries across 6 versions & 1 rubygems