We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c4bdc7 + 588b33f commit b6b54fcCopy full SHA for b6b54fc
Tests/CIDTests/CIDTests.swift
@@ -255,9 +255,9 @@ final class CIDTests: XCTestCase {
255
XCTAssertEqual(cid1.multihash, cid2.multihash)
256
XCTAssertEqual(cid1.multibase, cid2.multibase)
257
258
- /// P2P and IPFS Interop (Name is different, code is the same (should result in the same hash))
+ /// P2P =/= IPFS Interop (Name is different, code is different)
259
XCTAssertNotEqual(cid1.codec, cid3.codec) // .ipfs != .p2p
260
- XCTAssertEqual(cid1.code, cid3.code) // 0x01a5 == 0x01a5
+ XCTAssertNotEqual(cid1.code, cid3.code) // 0x01a5 == 0x01a5
261
XCTAssertEqual(cid1.version, cid3.version)
262
XCTAssertEqual(cid1.multihash, cid3.multihash)
263
XCTAssertEqual(cid1.multibase, cid3.multibase)
0 commit comments