Skip to content

Commit 3793990

Browse files
committed
explore
1 parent 9e8f869 commit 3793990

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lib/commands/explore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ t.test('basic interactive', async t => {
7070

7171
t.ok(PJ_CALLED.endsWith('/pkg'))
7272
t.strictSame(RUN_SCRIPT_EXEC, 'shell-command')
73-
t.match(output, /Exploring \{CWD\}\/[\w-_/]+\nType 'exit' or \^D when finished/)
73+
t.match(output, /Exploring \{CWD\}\/(.+)+\nType 'exit' or \^D when finished/)
7474
})
7575

7676
t.test('interactive tracks exit code', async t => {
@@ -83,7 +83,7 @@ t.test('interactive tracks exit code', async t => {
8383

8484
t.ok(PJ_CALLED.endsWith('/pkg'))
8585
t.strictSame(RUN_SCRIPT_EXEC, 'shell-command')
86-
t.match(output, /Exploring \{CWD\}\/[\w-_/]+\nType 'exit' or \^D when finished/)
86+
t.match(output, /Exploring \{CWD\}\/(.+)+\nType 'exit' or \^D when finished/)
8787

8888
t.equal(process.exitCode, 99)
8989
})

0 commit comments

Comments
 (0)