Skip to content

Commit fae24a4

Browse files
committed
Merge pull request #309 from goforgold/patch-1
minor changes in code formatting
2 parents 0ebcb26 + 89f9bcc commit fae24a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ Usage
4141

4242
Here is an example unit test module:
4343

44-
exports.testSomething = function(test){
44+
exports.testSomething = function(test) {
4545
test.expect(1);
4646
test.ok(true, "this assertion should pass");
4747
test.done();
4848
};
4949

50-
exports.testSomethingElse = function(test){
50+
exports.testSomethingElse = function(test) {
5151
test.ok(false, "this assertion should fail");
5252
test.done();
5353
};
@@ -133,7 +133,7 @@ and stubbing is pretty much impossible. One of the nicest things about testing
133133
in javascript is the ease of doing stubs:
134134

135135
var _readFile = fs.readFile;
136-
fs.readFile = function(path, callback){
136+
fs.readFile = function(path, callback) {
137137
// it's a stub!
138138
};
139139
// test function that uses fs.readFile

0 commit comments

Comments
 (0)