diff --git a/tests/spec/fs.writeFile-readFile.spec.js b/tests/spec/fs.writeFile-readFile.spec.js index 7f2d62c..589b273 100644 --- a/tests/spec/fs.writeFile-readFile.spec.js +++ b/tests/spec/fs.writeFile-readFile.spec.js @@ -13,7 +13,6 @@ describe('fs.writeFile, fs.readFile', function() { it('should error when path is wrong to readFile', function(done) { var fs = util.fs(); - var contents = 'This is a file.'; fs.readFile('/no-such-file', 'utf8', function(error, data) { expect(error).to.exist; @@ -67,8 +66,7 @@ describe('fs.writeFile, fs.readFile', function() { it('should write, read a binary file', function(done) { var fs = util.fs(); - // String and utf8 binary encoded versions of the same thing: - var contents = 'This is a file.'; + // String and utf8 binary encoded versions of the same thing: 'This is a file.' var binary = new Buffer([84, 104, 105, 115, 32, 105, 115, 32, 97, 32, 102, 105, 108, 101, 46]); fs.writeFile('/myfile', binary, function(error) {