diff --git a/tests/morebits.batchOperation.js b/tests/morebits.batchOperation.js index 9fa045008..07356e1dd 100644 --- a/tests/morebits.batchOperation.js +++ b/tests/morebits.batchOperation.js @@ -2,7 +2,7 @@ describe('Morebits.batchOperation', () => { test('Contruction', () => { - assert.true(new Morebits.BatchOperation() instanceof Morebits.batchOperation, 'Correct instance'); + assert.true(new Morebits.BatchOperation() instanceof Morebits.BatchOperation, 'Correct instance'); }); const batch = new Morebits.BatchOperation(); const pageList = ['Macbeth', 'Hamlet', 'Romeo and Juliet', 'Much Ado About Nothing', 'Tempest']; diff --git a/tests/morebits.taskManager.js b/tests/morebits.taskManager.js index bcd03db49..9298bcf31 100644 --- a/tests/morebits.taskManager.js +++ b/tests/morebits.taskManager.js @@ -3,7 +3,7 @@ describe('Morebits.taskManager', () => { test('Contruction', () => { const tm = new Morebits.TaskManager(); - assert.true(tm instanceof Morebits.taskManager, 'Correct instance'); + assert.true(tm instanceof Morebits.TaskManager, 'Correct instance'); }); // Helper to generate functions as well as testing output in proper order; diff --git a/tests/morebits.unbinder.js b/tests/morebits.unbinder.js index 4c4cd6644..bcfab843f 100644 --- a/tests/morebits.unbinder.js +++ b/tests/morebits.unbinder.js @@ -5,7 +5,7 @@ describe('Morebits.unbinder', () => { assert.throws(() => new Morebits.Unbinder(), 'throws: no string'); assert.throws(() => new Morebits.Unbinder([42]), 'throws: not a string'); const u = new Morebits.Unbinder('Hello world'); - assert.true(u instanceof Morebits.unbinder, 'Correct instance'); + assert.true(u instanceof Morebits.Unbinder, 'Correct instance'); assert.throws(() => u.unbind(), 'throws: Missing prefix'); assert.throws(() => u.unbind('w'), 'throws: Missing postfix'); }); @@ -16,7 +16,7 @@ describe('Morebits.unbinder', () => { assert.strictEqual(u.rebind(), 'Hello earth earth', 'Simple replace'); u = new Morebits.Unbinder('Hello world world [link link] [[link|link]]'); - assert.true(u instanceof Morebits.unbinder, 'Correct instance'); + assert.true(u instanceof Morebits.Unbinder, 'Correct instance'); u.unbind(''); u.unbind('\\[\\[', '\\]\\]'); u.content = u.content.replace(/world/g, 'earth').replace(/link/g, 'url'); diff --git a/tests/morebits.wikitext.js b/tests/morebits.wikitext.js index a6e5a3b45..823b06489 100644 --- a/tests/morebits.wikitext.js +++ b/tests/morebits.wikitext.js @@ -84,7 +84,7 @@ describe('Morebits.wikitext', () => { test('Morebits.wikitext.page', () => { const text = '{{short description}}{{about}}[[File:Fee.svg]]O, [[Juliet|she]] doth {{plural|teach}} the torches to burn bright!'; const page = new Morebits.wikitext.Page(text); - assert.true(page instanceof Morebits.wikitext.page, 'Correct instance'); + assert.true(page instanceof Morebits.wikitext.Page, 'Correct instance'); assert.strictEqual(page.getText(), text, 'Got text'); // Throws