Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit e595bde

Browse files
committed
fix: ref -> Ref
1 parent 579ea56 commit e595bde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/files-regular/refs-local-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module.exports = (createCommon, suiteName, ipfsRefsLocal, options) => {
4848
ipfsRefsLocal(ipfs)((err, refs) => {
4949
expect(err).to.not.exist()
5050

51-
const cids = refs.map(r => r.Ref)
51+
const cids = refs.map(r => r.ref)
5252
expect(cids).to.include('QmVwdDCY4SPGVFnNCiZnX5CtzwWDn6kAM98JXzKxE3kCmn')
5353
expect(cids).to.include('QmR4nFjTu18TyANgC65ArNWp5Yaab1gPzQ4D8zp7Kx3vhr')
5454

src/files-regular/refs-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = (createCommon, suiteName, ipfsRefs, options) => {
7575

7676
// Check there was no error and the refs match what was expected
7777
expect(err).to.not.exist()
78-
expect(refs.map(r => r.Ref)).to.eql(expected)
78+
expect(refs.map(r => r.ref)).to.eql(expected)
7979

8080
// Clear any pending timeout
8181
clearTimeout(timeout)

0 commit comments

Comments
 (0)