Fix lint issues in fs.stats.spec.js
This commit is contained in:
parent
7258a2913e
commit
1c7b40c895
|
@ -45,6 +45,8 @@ describe('fs.stats', function() {
|
|||
if(error) throw error;
|
||||
fs.close(fd, function(error, stats) {
|
||||
if(error) throw error;
|
||||
expect(stats).to.exist;
|
||||
|
||||
fs.symlink('/myfile', '/myfilelink', function(error) {
|
||||
if(error) throw error;
|
||||
fs.lstat('/myfilelink', function(error, stats) {
|
||||
|
@ -97,7 +99,7 @@ describe('fs.stats', function() {
|
|||
|
||||
fs.open('/myfile', 'w+', function(error, fd) {
|
||||
if(error) throw error;
|
||||
fs.close(fd, function(error, stats) {
|
||||
fs.close(fd, function(error) {
|
||||
if(error) throw error;
|
||||
fs.symlink('/myfile', '/myfilelink', function(error) {
|
||||
if(error) throw error;
|
||||
|
@ -197,7 +199,7 @@ describe('fs.stats', function() {
|
|||
|
||||
fs.open('/myfile', 'w+', function(error, fd) {
|
||||
if(error) throw error;
|
||||
fs.close(fd, function(error, stats) {
|
||||
fs.close(fd, function(error) {
|
||||
if(error) throw error;
|
||||
fs.symlink('/myfile', '/myfilelink', function(error) {
|
||||
if(error) throw error;
|
||||
|
|
Loading…
Reference in New Issue