fixed tester tests portability
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -39,7 +39,7 @@ var expected = [ | ... | @@ -39,7 +39,7 @@ var expected = [ |
39 | "04/01_init.js", | 39 | "04/01_init.js", |
40 | "04/02_do.js" | 40 | "04/02_do.js" |
41 | ].map(function(entry) { | 41 | ].map(function(entry) { |
42 | return fs.pathJoin(testDirRoot, entry); | 42 | return fs.pathJoin.apply(fs, [testDirRoot].concat(entry.split('/'))); |
43 | }); | 43 | }); |
44 | t.assertEquals(files, expected, 'findTestFiles() find test files and sort them'); | 44 | t.assertEquals(files, expected, 'findTestFiles() find test files and sort them'); |
45 | 45 | ... | ... |
-
Please register or sign in to post a comment