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

test: make files.ls results ordering consistent #342

Merged
merged 1 commit into from
Aug 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/src/files/ls.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ module.exports = (createCommon, options) => {
ipfs.files.ls(testDir, (err, info) => {
expect(err).to.not.exist()
expect(info).to.eql([
{ name: 'b', type: 0, size: 0, hash: '' },
{ name: 'lv1', type: 0, size: 0, hash: '' }
{ name: 'lv1', type: 0, size: 0, hash: '' },
{ name: 'b', type: 0, size: 0, hash: '' }
])
done()
})
Expand Down