Skip to content

Commit

Permalink
oops, fix dumb test that was using absolute path to a file that only …
Browse files Browse the repository at this point in the history
…exists on my machine
  • Loading branch information
millermedeiros committed Mar 27, 2015
1 parent 64b5045 commit a498eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli.spec.js
Expand Up @@ -190,7 +190,7 @@ describe('Command line interface', function() {
// invalid glob expansion should throw error
filePath = path.join(__dirname + '/compare/default/fake-file*-in.js');
spawnEsformatter('glob', filePath, function(formattedFile) {
expect(formattedFile.message).to.equal('Can\'t read source file: "/Users/millermedeiros/Projects/opensource/esformatter/test/compare/default/fake-file*-in.js"\nException: ENOENT, no such file or directory \'/Users/millermedeiros/Projects/opensource/esformatter/test/compare/default/fake-file*-in.js\'\n');
expect(formattedFile.message).to.equal('Can\'t read source file: "' + __dirname + '/compare/default/fake-file*-in.js"\nException: ENOENT, no such file or directory \'' + __dirname + '/compare/default/fake-file*-in.js\'\n');
});

});

0 comments on commit a498eac

Please sign in to comment.