-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 456 #504
Issue 456 #504
Conversation
tests/spec/fs.write.spec.js
Outdated
@@ -5,6 +5,18 @@ var expect = require('chai').expect; | |||
describe('fs.write', function() { | |||
beforeEach(util.setup); | |||
afterEach(util.cleanup); | |||
|
|||
// the file is underfined, will create problem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo nit: 'underfined' might be intended to spell 'undefined'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for telling me, I will fix the problem late.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small fix, and I think this is good to merge. Please make this change, and push another commit.
|
||
// if the file is undefined, it will create problems | ||
// | ||
it('should be a error',function(done){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move your comment above into the test message like this:
it('should error if the file name is undefined', function(done) {
If it is the success, the filename is undefined, when we write a file from original to a destination.
I change code at fs.write.spec.js