Fix test for AMA subtitle capitalization
This commit is contained in:
parent
f776156fbd
commit
9becefc3fd
1 changed files with 2 additions and 2 deletions
|
@ -67,12 +67,12 @@ describe("Zotero.Styles", function() {
|
|||
assert.equal(o.text, 'Foo bar: Baz qux. (2019).\n');
|
||||
});
|
||||
|
||||
it("should capitalize subtitles in AMA", async function () {
|
||||
it("shouldn't capitalize subtitles in AMA", async function () {
|
||||
var o = Zotero.QuickCopy.getContentFromItems(
|
||||
[item],
|
||||
'bibliography=http://www.zotero.org/styles/american-medical-association'
|
||||
);
|
||||
assert.equal(o.text, '1. Foo bar: Baz qux. 2019.\n');
|
||||
assert.equal(o.text, '1. Foo bar: baz qux. 2019.\n');
|
||||
});
|
||||
|
||||
it("shouldn't capitalize subtitles in Vancouver", async function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue