Skip to content

Commit 3a1ce22

Browse files
committed
Fixing generation of tests files when the
name of a test contains "*/".
1 parent 1108a81 commit 3a1ce22

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
- sinon 19.0.2 => 20.0.0.
1010
- cyril-verloop/codingame-configuration 1.12.0 => 1.13.3.
1111

12+
### Fixed
13+
- generation of tests files when the name of a test contains "*/".
14+
1215
## [3.8.0] - 2025-02-28
1316
### Changed
1417
- cyril-verloop/codingame-configuration 1.11.2 => 1.12.0.

templates/CGTest.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ suite("{{ configuration.name|raw }}", function() {
2323
{% for test in configuration.testConfigurations %}
2424

2525
/**
26-
* Tests the code with "{{ test.name|raw }}".
26+
* Tests the code with "{{ test.name|replace({'*/': '* /'})|raw }}".
2727
*/
2828
test("{{ test.name|raw }}", function() {
2929
const inputFile = new File(__dirname + 'input/{{ test.file }}');

0 commit comments

Comments
 (0)