Skip to content

Commit 8caff42

Browse files
committed
Change regex matcher again
1 parent 51441ba commit 8caff42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/suite/extension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ suite('Extension Test Suite', () => {
127127
const exeExt = os.platform.toString() === 'win32' ? '.exe' : '';
128128
// Setting up watchers before actual tests start, to ensure we will got the created event
129129
filesCreated.set('wrapper', existsWorkspaceFile(`bin/${process.platform === 'win32' ? 'ghcup' : '.ghcup'}/bin/haskell-language-server-wrapper${exeExt}`, pred));
130-
filesCreated.set('server', existsWorkspaceFile(`bin/${process.platform === 'win32' ? 'ghcup' : '.ghcup'}/bin/haskell-language-server-[1-9\.]+${exeExt}`, pred));
130+
filesCreated.set('server', existsWorkspaceFile(`bin/${process.platform === 'win32' ? 'ghcup' : '.ghcup'}/bin/haskell-language-server-[1-9]*${exeExt}`, pred));
131131
filesCreated.set('log', existsWorkspaceFile('hls.log'));
132132
filesCreated.set('cache', existsWorkspaceFile('cache-test'));
133133
});

0 commit comments

Comments
 (0)