Add 'Type:' to extraToCSL() test

Follow-up to #1744
This commit is contained in:
Dan Stillman 2019-10-26 17:05:03 -04:00
parent 84c7c2f1d6
commit cbfa4be437

View file

@ -7,6 +7,7 @@ describe("Zotero.Cite", function () {
+ 'DOI: 10.0/abc\n' // certain fields are uppercase
+ 'Archive Location: Foo\n' // requires an underscore
+ 'Original Publisher Place: London, UK\n' // extra space OK
+ 'Type: dataset'
+ '\n\n'
+ "Ignore other strings: they're not fields\n"
+ 'This is just some text.'
@ -16,6 +17,7 @@ describe("Zotero.Cite", function () {
+ 'DOI: 10.0/abc\n'
+ 'archive_location: Foo\n'
+ 'original-publisher-place: London, UK\n'
+ 'type: dataset'
+ '\n\n'
+ "Ignore other strings: they're not fields\n"
+ 'This is just some text.';