Fix lint issues in path-resolution.spec.js

This commit is contained in:
David Humphrey 2018-07-26 17:53:02 -04:00
parent 3e1c3deb51
commit 49931722cc
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,8 @@ describe('path resolution', function() {
var fs = util.fs(); var fs = util.fs();
fs.mkdir('/mydir', function(error) { fs.mkdir('/mydir', function(error) {
if(error) throw error;
fs.symlink('/mydir', '/mydirectorylink', function(error) { fs.symlink('/mydir', '/mydirectorylink', function(error) {
if(error) throw error; if(error) throw error;
@ -148,6 +150,7 @@ describe('path resolution', function() {
if(error) throw error; if(error) throw error;
fs.stat('/myfile0', function(error, result) { fs.stat('/myfile0', function(error, result) {
if(error) throw error; if(error) throw error;
expect(result).to.exist;
createSymlinkChain(1, function() { createSymlinkChain(1, function() {
fs.stat('/myfile11', function(error, result) { fs.stat('/myfile11', function(error, result) {
@ -201,6 +204,7 @@ describe('path resolution', function() {
if(error) throw error; if(error) throw error;
fs.stat('/myfile', function(error, result) { fs.stat('/myfile', function(error, result) {
if(error) throw error; if(error) throw error;
expect(result).to.exist;
fs.open('/myfile2', 'w', function(error, result) { fs.open('/myfile2', 'w', function(error, result) {
if(error) throw error; if(error) throw error;