remove comments; clarify test message
This commit is contained in:
parent
53e6293494
commit
7dc0ef6ccb
|
@ -1037,7 +1037,6 @@ define(function(require) {
|
|||
path = normalize(path);
|
||||
|
||||
function update_times (error, node) {
|
||||
//Note: Going by node.js' implementation, utimes works on directories
|
||||
if (error) {
|
||||
callback(error);
|
||||
}
|
||||
|
@ -1048,7 +1047,6 @@ define(function(require) {
|
|||
}
|
||||
}
|
||||
|
||||
//check if atime and mtime are integers and >= 0
|
||||
if (typeof atime != 'number' || typeof mtime != 'number') {
|
||||
callback(new EInvalid('atime and mtime must be number'));
|
||||
}
|
||||
|
@ -1073,7 +1071,6 @@ define(function(require) {
|
|||
}
|
||||
}
|
||||
|
||||
//check if atime and mtime are integers and >= 0
|
||||
if (typeof atime != 'number' || typeof mtime != 'number') {
|
||||
callback(new EInvalid('atime and mtime must be a number'));
|
||||
}
|
||||
|
|
|
@ -274,7 +274,7 @@ define(["IDBFS"], function(IDBFS) {
|
|||
});
|
||||
});
|
||||
|
||||
it ('should update atime and mtime if they are null', function () {
|
||||
it ('should update atime and mtime using current time if arguments are null', function () {
|
||||
var complete = false;
|
||||
var _error;
|
||||
var that = this;
|
||||
|
|
Loading…
Reference in New Issue