Skip to content

Commit 6bd72a4

Browse files
committed
Assert message contains text
1 parent 85f617e commit 6bd72a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/signcode-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ describe('signcode', function () {
135135
signcode.sign(options, function (error) {
136136
assert(error instanceof Error)
137137
assert(error.message.length > 0)
138+
assert.notEqual(error.message.indexOf('Failed to read private key file'), -1)
138139
done()
139140
})
140141
})

0 commit comments

Comments
 (0)