Skip to content

Commit

Permalink
Merge pull request #17 from libp2p/filenames
Browse files Browse the repository at this point in the history
test: key name comparision
  • Loading branch information
richardschneider authored Dec 19, 2017
2 parents 3b7c691 + e78b248 commit 605d290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/keychain.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ module.exports = (datastore1, datastore2) => {
ks.listKeys((err, keys) => {
expect(err).to.not.exist()
expect(keys).to.exist()
const mykey = keys.find((k) => k.name === rsaKeyName)
const mykey = keys.find((k) => k.name.normalize() === rsaKeyName.normalize())
expect(mykey).to.exist()
done()
})
Expand Down

0 comments on commit 605d290

Please sign in to comment.