From 472cd053aab1432d19f9deebb6141567bbe91ff6 Mon Sep 17 00:00:00 2001
From: Michael Williamson
Date: Tue, 8 Jul 2014 10:25:57 +0100
Subject: Use jshint and fix errors
---
tests/mammoth.tests.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'tests/mammoth.tests.js')
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js
index 11f4fc6..6d7125d 100644
--- a/tests/mammoth.tests.js
+++ b/tests/mammoth.tests.js
@@ -4,7 +4,7 @@ var fs = require("fs");
var promises = require("../lib/promises");
-var mammoth = require("../")
+var mammoth = require("../");
var htmlPaths = require("../lib/html-paths");
var documentMatchers = require("../lib/document-matchers");
@@ -113,7 +113,7 @@ describe('mammoth', function() {
'.' +
'
' +
'' +
- '
'
+ '';
assert.equal(result.value, expectedOutput);
// TODO: get rid of warnings
//~ assert.deepEqual(result.messages, []);
@@ -130,7 +130,7 @@ describe('mammoth', function() {
test('using styleMapping throws error', function() {
try {
- mammoth.styleMapping()
+ mammoth.styleMapping();
} catch (error) {
assert.equal(
error.message,
@@ -145,4 +145,4 @@ describe('mammoth', function() {
assert.equal(result.value, 'Apple\n\nBanana\n\n');
});
});
-})
+});
--
cgit v1.2.3