From 99e5114a8b22ce692fb6cbf26b0b11908dde69e8 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Sun, 21 Feb 2016 22:21:06 -0500 Subject: Add a few tests --- test/parsing.bib | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 test/parsing.bib (limited to 'test/parsing.bib') diff --git a/test/parsing.bib b/test/parsing.bib deleted file mode 100644 index 849c7f0..0000000 --- a/test/parsing.bib +++ /dev/null @@ -1,46 +0,0 @@ -identifier can contain weird things - -@ string ( @f0/0\:0 = "foo" ) -@string { foo = "foo" # @f0/0\:0 } - -@ preamble( - foo -) -@preamble { foo } - -entry can be empty - -@misc{} - -key can be empty - -@misc(,) - -key can contain weird things - -@misc( (}cr@zy{,) -@misc{ ()cr@zy{,} - -Now testing entries with unknown type. - -@cr@zy {key1, - year = 2010, - title = @f0/0\:0 # "jou{"}rn@l" # { {j}our"n@{l} } # @f0/0\:0, - author = "Jœhn - - Nash", -} - -@comment{ This is a comment - - The following line starts a new entry, even though few parsers will catch it - @article{key2, - year = "2010", -} - -we are now outside of an entry again, balancedness does not matter -} -} @ comment - -The next line defines an entry of type "commentarticle" -@ commment@article {key3,} -- cgit v1.2.3-70-g09d2