Skip to content

Commit

Permalink
better
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed May 23, 2024
1 parent 7f26e7c commit 9745539
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions eo2js/test/it/runtime-tests.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const allFilesFrom = function(dir) {
if (file.isDirectory()) {
res.push(...allFilesFrom(path.join(dir, file.name)))
} else {
res.push(dir, file.name)
res.push(path.resolve(dir, file.name))
}
}
return res
Expand All @@ -73,10 +73,14 @@ describe('runtime tests', function() {
'git init',
'git remote add origin https://github.com/objectionary/home.git',
'git config core.sparseCheckout true',
'echo "tests/org/eolang" > .git/info/sparse-checkout',
'echo tests/org/eolang > .git/info/sparse-checkout',
'git pull origin master'
].join(' && '), {cwd: home})
console.debug(`Downloaded:\n${allFilesFrom(path.resolve(home, 'tests/org/eolang')).join(', ')}`)
console.debug(`Downloaded:\n${
allFilesFrom(path.resolve(home, 'tests', 'org', 'eolang'))
.map((pth) => path.relative(home, pth))
.join(', ')
}`)
console.debug(`\nExcluded:\n${exclude.join(', ')}`)
mvnw(
['register', 'assemble', 'verify'],
Expand Down

1 comment on commit 9745539

@0pdd
Copy link
Collaborator

@0pdd 0pdd commented on 9745539 May 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 3-5a478edf discovered in eo2js/test/it/runtime-tests.test.js) and submitted as #71. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

Please sign in to comment.