-
Notifications
You must be signed in to change notification settings - Fork 39
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
expect(cid0).to.have.property('codec', 'dag-pb') | ||
expect(cid0).to.have.property('version', 0) | ||
expect(cid0).to.have.property('multihash').that.eql(mh) | ||
expect(cid0.toBaseEncodedString()).to.eql('161g3c') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI (this is not blocking a merge): you can also use toString()
instead of toBaseEncodedString()
.
@lidel thanks for reminding me of this pull (was staring at it puzzled not remembering doing it at all. Then noticed it's from last August 😱) I'll resolve conflicts sometime today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It sadly needs another rebase. |
@vmx how do you mean? (CI is green, no conflicts) |
@lidel Oh sorry. I had "Rebase and merge" selected (from a previous merge) and then it shows "This branch cannot be rebased due to conflicts") But other ways of merging work. |
Fixes #92 exception being throw by CID constructor when identity multihash is used