remove comments; clarify test message

This commit is contained in:
Alan Kligman 2013-12-20 00:45:11 -05:00
parent 53e6293494
commit 7dc0ef6ccb
2 changed files with 11 additions and 14 deletions

View File

@ -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'));
}

View File

@ -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;