Skip to content

Commit 7dd043a

Browse files
committed
Nested export fix.
1 parent 1e0ef95 commit 7dd043a

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"node": ">= 0.8.0"
2424
},
2525
"scripts": {
26-
"test": "grunt nodeunit"
26+
"test": "grunt jshint nodeunit"
2727
},
2828
"devDependencies": {
2929
"grunt-contrib-jshint": "~0.6.0",

test/ntp-client_test.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,15 @@
4747
test.done();
4848
});
4949

50-
exports.invalidNTPServer = function (test) {
51-
// I'm pretty sure there is no NTP Server listening at google.com
52-
ntpClient.getNetworkTime("google.com", 123, function (err, date) {
53-
test.ok(err !== null);
54-
test.ok(date === null);
55-
test.equal(err, "Timeout waiting for NTP response.");
56-
test.done();
57-
});
58-
};
50+
};
51+
52+
exports.invalidNTPServer = function (test) {
53+
// I'm pretty sure there is no NTP Server listening at google.com
54+
ntpClient.getNetworkTime("google.com", 123, function (err, date) {
55+
test.ok(err !== null);
56+
test.ok(date === null);
57+
test.equal(err, "Timeout waiting for NTP response.");
58+
test.done();
59+
});
5960
};
6061
}(exports));

0 commit comments

Comments
 (0)