Permalink
Browse files

Removed dangling whitespace in test

  • Loading branch information...
1 parent 52cb59a commit b067c882c066776a81c7b48d35406b5e4ad0a79b @Leonidas-from-XIV committed Nov 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/xml2js.test.coffee
View
@@ -37,7 +37,7 @@ validator = (xpath, currentValue, newValue) ->
if not currentValue
return newValue
else if xpath == '/validationerror'
- throw new xml2js.ValidationError("Validation error!")
+ throw new xml2js.ValidationError("Validation error!")
return newValue
# shortcut, because it is quite verbose
@@ -204,5 +204,5 @@ module.exports =
'test validation error': (test) ->
x2js = new xml2js.Parser({validator: validator})
x2js.parseString '<validationerror/>', (err, r) ->
- assert.equal err, 'Validation error!'
+ assert.equal err, 'Validation error!'
test.finish()

0 comments on commit b067c88

Please sign in to comment.