Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
this should be all
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Mar 22, 2017
1 parent 52fcc05 commit 3146ed4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/cli/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('config', () => runOnAndOff((thing) => {
before(() => {
ipfs = thing.ipfs
configPath = path.join(ipfs.repoPath, 'config')
originalConfigPath = path.join(__dirname, '../test-data/go-ipfs-repo/config')
originalConfigPath = path.join(__dirname, '../go-ipfs-repo/config')
updatedConfig = () => JSON.parse(fs.readFileSync(configPath, 'utf8'))
restoreConfig = () => fs.writeFileSync(configPath, fs.readFileSync(originalConfigPath, 'utf8'), 'utf8')
})
Expand Down
4 changes: 2 additions & 2 deletions test/http-api/over-ipfs-api/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ module.exports = (ctl) => {
const key = 'QmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n'
const filePath = 'test/test-data/badnode.json'
const expectedResult = {
data: fs.readFileSync(filePath).toString(),
data: fs.readFileSync(filePath),
multihash: 'QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6',
links: [],
size: 19
Expand Down Expand Up @@ -226,7 +226,7 @@ module.exports = (ctl) => {
const key = 'QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6'
const filePath = 'test/test-data/badnode.json'
const expectedResult = {
data: fs.readFileSync(filePath).toString(),
data: fs.readFileSync(filePath),
multihash: 'QmfY37rjbPCZRnhvvJuQ46htW3VCAWziVB991P79h6WSv6',
links: [],
size: 19
Expand Down

0 comments on commit 3146ed4

Please sign in to comment.