File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
7
7
## [ Unreleased]
8
8
9
+ ## [ 4.13.2]
10
+
11
+ ### Added
12
+
13
+ - workaround for 'debug test at cursor'. [ related] ( https://github.com/matepek/vscode-catch2-test-adapter/issues/464 )
14
+
9
15
## [ 4.13.1] - 2025-04-05
10
16
11
17
### Added
Original file line number Diff line number Diff line change @@ -299,8 +299,11 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
299
299
const testsToRun = [ ...executables . values ( ) ] [ 0 ] ;
300
300
301
301
if ( testsToRun . direct . length != 1 ) {
302
- vscode . window . showWarningMessage ( 'You should only run 1 test case, no group.' ) ;
303
- return ;
302
+ // workaround for https://github.com/matepek/vscode-catch2-test-adapter/issues/464
303
+ if ( new Set ( testsToRun . direct . map ( x => x . id ) ) . size != 1 ) {
304
+ vscode . window . showWarningMessage ( 'You should only run 1 test case, no group.' ) ;
305
+ return ;
306
+ }
304
307
}
305
308
const test = testsToRun . direct [ 0 ] ;
306
309
runQueue . push (
You can’t perform that action at this time.
0 commit comments