aboutsummaryrefslogtreecommitdiff
path: root/tests/main.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-28 21:51:50 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-28 21:51:50 +0100
commit4b13398d9f4fc303d22fc24aac519113941b032c (patch)
tree7422aa51b30de16ff9a90fb8863f1503ef755642 /tests/main.tests.js
parentd046c4297a04b6eecadf01093382b72bb1b71032 (diff)
Add stylistic eslint rules
Diffstat (limited to 'tests/main.tests.js')
-rw-r--r--tests/main.tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/main.tests.js b/tests/main.tests.js
index 5b54441..d603626 100644
--- a/tests/main.tests.js
+++ b/tests/main.tests.js
@@ -1,5 +1,5 @@
var assert = require("assert");
-var child_process = require("child_process");
+var child_process = require("child_process"); // eslint-disable-line camelcase
var path = require("path");
var fs = require("fs");
@@ -77,7 +77,7 @@ function runMammoth() {
var processArgs = ["node", "bin/mammoth"].concat(args);
// TODO: proper escaping of args
var command = processArgs.join(" ");
- child_process.exec(command, function(error, stdout, stderr) {
+ child_process.exec(command, function(error, stdout, stderr) { // eslint-disable-line camelcase
console.log(stderr); // eslint-disable-line no-console
assert.equal(error, null);
deferred.resolve({output: stdout, stderrOutput: stderr});