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

Commit f3fcc74

Browse files
committed
nit
1 parent 1f13ac4 commit f3fcc74

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/cli/test-files.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('files', () => {
3636
.run((err, stdout, exitcode) => {
3737
expect(err).to.not.exist
3838
expect(exitcode).to.equal(0)
39-
expect(stdout).to.deep.equal([
39+
const expected = [
4040
'added QmZTR5bcpQD7cFgTorqxZDYaew1Wqgfbd2ud9QqGPAkK2V init-docs/about',
4141
'added QmYCvbfNbCwFR45HiNP45rwJgvatpiW38D961L5qAhUM5Y init-docs/contact',
4242
'added QmQN88TEidd3RY2u3dpib49fERTDfKtDpvxnvczATNsfKT init-docs/docs/index',
@@ -47,7 +47,9 @@ describe('files', () => {
4747
'added QmYE7xo6NxbHEVEHej1yzxijYaNY51BaeKxjXxn6Ssa6Bs init-docs/tour/0.0-intro',
4848
'added QmegvLXxpVKiZ4b57Xs1syfBVRd8CbucVHAp7KpLQdGieC init-docs/docs',
4949
'added QmciSU8hfpAXKjvK5YLUSwApomGSWN5gFbP4EpDAEzu2Te init-docs/tour',
50-
'added QmUhUuiTKkkK8J6JZ9zmj8iNHPuNfGYcszgRumzhHBxEEU init-docs'])
50+
'added QmUhUuiTKkkK8J6JZ9zmj8iNHPuNfGYcszgRumzhHBxEEU init-docs'
51+
]
52+
expect(stdout).to.deep.equal(expected)
5153
done()
5254
})
5355
})

0 commit comments

Comments
 (0)