Skip to content

Commit 2296edf

Browse files
committed
tests
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent f1d02ec commit 2296edf

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

tests/integration/Utils.LicenseUtility.LicenseEvidenceGatherer.node.test.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ suite('integration: Utils.LicenseUtility.LicenseEvidenceGatherer', () => {
3030
test('no path -> throws', () => {
3131
const { fs } = memfs({ '/': {} })
3232
const leg = new LicenseEvidenceGatherer({ fs })
33-
assert.throws(() => {
34-
Array.from(leg.getFileAttachments('/foo'))
35-
},
36-
{
37-
code: 'ENOENT',
38-
message: "ENOENT: no such file or directory, scandir '/foo'",
39-
path: '/foo',
40-
}
33+
assert.throws(
34+
() => {
35+
Array.from(leg.getFileAttachments('/foo'))
36+
},
37+
{
38+
code: 'ENOENT',
39+
message: 'ENOENT: no such file or directory, scandir \'/foo\'',
40+
path: '/foo',
41+
}
4142
)
4243
})
4344

0 commit comments

Comments
 (0)