Sha256: 1002085991baaaa71d179ef9b791f99838e227079ac92624e6595651420a710d
Contents?: true
Size: 1.29 KB
Versions: 86
Compression:
Stored size: 1.29 KB
Contents
Feature: BibTeX Strings As a hacker who works with bibliographies I want to be able to parse BibTeX files containing string assignments @string 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
86 entries across 86 versions & 3 rubygems