Skip to content

Commit cd25d2b

Browse files
committed
Fix test suite
1 parent f4b1d68 commit cd25d2b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
strategy:
1212
matrix:
1313
os: [macos-11, ubuntu-latest, windows-latest]
14-
ghc: [9.0.1]
14+
ghc: [9.0.2]
1515
include:
1616
# To test a ghc version deprecated in newer hls versions
1717
- os: ubuntu-latest
18-
ghc: 8.10.4
18+
ghc: 8.10.6
1919
runs-on: ${{ matrix.os }}
2020
steps:
2121
- name: Checkout

test/suite/extension.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ suite('Extension Test Suite', () => {
9696
const pred = (uri: vscode.Uri) => !['download', 'gz', 'zip'].includes(path.extname(uri.fsPath));
9797
const exeExt = os.platform.toString() === 'win32' ? '.exe' : '';
9898
// Setting up watchers before actual tests start, to ensure we will got the created event
99-
filesCreated.set('wrapper', existsWorkspaceFile(`bin/haskell-language-server-wrapper*${exeExt}`, pred));
100-
filesCreated.set('server', existsWorkspaceFile(`bin/haskell-language-server-[1-9]*${exeExt}`, pred));
99+
filesCreated.set('wrapper', existsWorkspaceFile(`bin/.ghcup/bin/haskell-language-server-wrapper*${exeExt}`, pred));
100+
filesCreated.set('server', existsWorkspaceFile(`bin/.ghcup/bin/haskell-language-server-[1-9]*${exeExt}`, pred));
101101
filesCreated.set('log', existsWorkspaceFile('hls.log'));
102102
filesCreated.set('cache', existsWorkspaceFile('cache-test'));
103103
});

0 commit comments

Comments
 (0)