Commit 9af9e4cc authored by Carson Howard's avatar Carson Howard

Fixed tests on windows

parent 6f5c033c
...@@ -946,10 +946,6 @@ describe("Filter", function() { ...@@ -946,10 +946,6 @@ describe("Filter", function() {
var length = message.length; var length = message.length;
var tempBuffer = new Buffer(message, "utf-8"); var tempBuffer = new Buffer(message, "utf-8");
it("test test test", function() {
assert.equal(true, true);
});
it("applies the filters for a path on demand", function() { it("applies the filters for a path on demand", function() {
var test = this; var test = this;
var list; var list;
...@@ -989,7 +985,7 @@ describe("Filter", function() { ...@@ -989,7 +985,7 @@ describe("Filter", function() {
return list.applyToFile(test.repository, "README.md"); return list.applyToFile(test.repository, "README.md");
}) })
.then(function(content) { .then(function(content) {
assert.strictEqual(content, message); assert.equal(content, message);
list.free(); list.free();
}); });
}); });
...@@ -1035,7 +1031,7 @@ describe("Filter", function() { ...@@ -1035,7 +1031,7 @@ describe("Filter", function() {
/* jshint ignore:end */ /* jshint ignore:end */
}) })
.then(function(content) { .then(function(content) {
assert.strictEqual(content, message); assert.equal(content, message);
list.free(); list.free();
}); });
}); });
...@@ -1092,7 +1088,7 @@ describe("Filter", function() { ...@@ -1092,7 +1088,7 @@ describe("Filter", function() {
return list.applyToBlob(blob); return list.applyToBlob(blob);
}) })
.then(function(content) { .then(function(content) {
assert.strictEqual(content, message); assert.equal(content, message);
list.free(); list.free();
}); });
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment