mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Clean up and rename test-stat-handler
This commit is contained in:
1 parent
92292c8394
commit
0314a10e10
1 file changed
+2
-2
@@ -11,7 +11,7 @@ var changes = 0;
|
||||
process.watchFile(f, function (curr, prev) {
|
||||
puts(f + " change");
|
||||
changes++;
|
||||
assert.equal(true, curr.mtime != prev.mtime);
|
||||
assert.ok(curr.mtime != prev.mtime);
|
||||
process.unwatchFile(f);
|
||||
});
|
||||
|
||||
@@ -23,5 +23,5 @@ fs.writeSync(fd, 'xyz\n');
|
||||
fs.closeSync(fd);
|
||||
|
||||
process.addListener("exit", function () {
|
||||
assert.equal(true, changes > 0);
|
||||
assert.ok(changes > 0);
|
||||
});
|
||||
Reference in new issue
Block a user