8000 fix coding style requirements · jasonLaster/sprintf.js@0f9b1ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f9b1ca

Browse files
committed
fix coding style requirements
1 parent cb46928 commit 0f9b1ca

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/test_validation.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ var assert = require("assert"),
66
vsprintf = sprintfjs.vsprintf
77

88
function should_throw(format,args,err) {
9-
assert.throws(function(){ vsprintf(format,args) }, err)
9+
assert.throws(function() { vsprintf(format,args) }, err)
1010
}
1111

1212
function should_not_throw(format,args) {
13-
assert.doesNotThrow(function(){ vsprintf(format,args)})
13+
assert.doesNotThrow(function() { vsprintf(format,args) })
1414
}
1515

1616
describe("sprintfjs", function() {
@@ -37,12 +37,11 @@ describe("sprintfjs", function() {
3737
})
3838

3939
it(fmt + " should not throw TypeError for something implicitly castable to number", function() {
40-
should_not_throw(fmt, [1/0] )
40+
should_not_throw(fmt, [1/0])
4141
should_not_throw(fmt, [true])
4242
should_not_throw(fmt, [[1]])
4343
should_not_throw(fmt, ["200"])
4444
should_not_throw(fmt, [null])
4545
})
4646
})
47-
4847
})

0 commit comments

Comments
 (0)
0