Skip to content

Commit 299e8d1

Browse files
committed
ci: Fix relative path test
1 parent 4428340 commit 299e8d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function testAsync() {
2525

2626
function testRelative() {
2727
assert.equal(
28-
trueCasePathSync(path.relative(process.cwd(), requested)),
28+
trueCasePathSync(requested.replace(process.cwd() + '/', '')),
2929
expected,
3030
'works with relative paths'
3131
)

0 commit comments

Comments
 (0)