Skip to content

Commit

Permalink
Check error type instead of string
Browse files Browse the repository at this point in the history
Upstream change broke this unit test.
  • Loading branch information
scotttrinh committed Aug 26, 2016
1 parent 9e17ba4 commit 1389216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-form-data-error.js
Expand Up @@ -75,12 +75,12 @@ tape('form-data should throw on null value', function (t) {
key: null
}
})
}, /Cannot read property 'path' of null/)
}, TypeError)
t.end()
})

tape('cleanup', function(t) {
s.close(function() {
t.end()
})
})
})

0 comments on commit 1389216

Please sign in to comment.