Skip to content

Commit 71f4b25

Browse files
MasterOdinagnivade
authored andcommitted
make requested changes
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
1 parent afec43f commit 71f4b25

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

test/index.spec.js

+19-19
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ const sinon = require('sinon');
88
const should = require('should');
99

1010
const pages = [
11-
'/index.json',
12-
'/pages/linux/apk.md',
13-
'/pages.zh/linux/apk.md',
14-
'/pages/common/cp.md',
15-
'/pages.it/common/cp.md',
16-
'/pages.ta/common/cp.md',
17-
'/pages/common/git.md',
18-
'/pages/common/ln.md',
19-
'/pages/common/ls.md',
20-
'/pages/linux/dd.md',
21-
'/pages/linux/du.md',
22-
'/pages/linux/top.md',
23-
'/pages/osx/dd.md',
24-
'/pages/osx/du.md',
25-
'/pages/osx/top.md',
26-
'/pages/sunos/dd.md',
27-
'/pages/sunos/du.md',
28-
'/pages/sunos/svcs.md'
11+
['/index.json'],
12+
['/pages', 'linux', 'apk.md'],
13+
['/pages.zh', 'linux', 'apk.md'],
14+
['/pages', 'common', 'cp.md'],
15+
['/pages.it', 'common', 'cp.md'],
16+
['/pages.ta', 'common', 'cp.md'],
17+
['/pages', 'common', 'git.md'],
18+
['/pages', 'common', 'ln.md'],
19+
['/pages', 'common', 'ls.md'],
20+
['/pages', 'linux', 'dd.md'],
21+
['/pages', 'linux', 'du.md'],
22+
['/pages', 'linux', 'top.md'],
23+
['/pages', 'osx', 'dd.md'],
24+
['/pages', 'osx', 'du.md'],
25+
['/pages', 'osx', 'top.md'],
26+
['/pages', 'sunos', 'dd.md'],
27+
['/pages', 'sunos', 'du.md'],
28+
['/pages', 'sunos', 'svcs.md']
2929
].map((x) => {
30-
return path.join(x);
30+
return path.join(...x);
3131
});
3232

3333
describe('Index building', () => {

0 commit comments

Comments
 (0)