Skip to content

Commit 78adb8f

Browse files
committed
Update CHANGELOG for v7.3.4
1 parent 1649893 commit 78adb8f

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1515

1616
### Removed
1717

18+
### Fixed
19+
20+
## [7.3.4] (2022-05-02)
21+
1822
### Fixed
1923
* [Core] Fix problem with PrettyFormatter printing URL encoded strings ([#2545](https://github.com/cucumber/cucumber-jvm/pull/2545) skloessel)
2024

@@ -1783,7 +1787,8 @@ in `cucumber.api` stable from now on, with proper deprecation warnings in case s
17831787
* First proper release
17841788
17851789
<!-- Releases -->
1786-
[Unreleased]: https://github.com/cucumber/cucumber-jvm/compare/v7.3.3...main
1790+
[Unreleased]: https://github.com/cucumber/cucumber-jvm/compare/v7.3.4...main
1791+
[7.3.4]: https://github.com/cucumber/cucumber-jvm/compare/v7.3.3-RC1...v7.3.4
17871792
[7.3.3]: https://github.com/cucumber/cucumber-jvm/compare/v7.3.2-RC1...v7.3.3
17881793
[7.3.2]: https://github.com/cucumber/cucumber-jvm/compare/v7.3.1-RC1...v7.3.2
17891794
[7.3.1]: https://github.com/cucumber/cucumber-jvm/compare/v7.3.0-RC1...v7.3.1

core/src/main/java/io/cucumber/core/plugin/PrettyFormatter.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,10 @@ private void printText(WriteEvent event) {
187187
String line;
188188
while ((line = lines.readLine()) != null) {
189189
builder.append(STEP_SCENARIO_INDENT)
190-
.append(line)
191-
.append(System.lineSeparator()); // Add system line separator - \n won't do it!
190+
.append(line)
191+
.append(System.lineSeparator()); // Add system line
192+
// separator - \n won't
193+
// do it!
192194
}
193195
} catch (IOException e) {
194196
throw new CucumberException(e);

core/src/test/java/io/cucumber/core/plugin/PrettyFormatterTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void should_handle_scenario_outline() {
167167

168168
@Test
169169
void should_print_encoded_characters() {
170-
170+
171171
Feature feature = TestFeatureParser.parse("path/test.feature", "" +
172172
"Feature: Test feature\n" +
173173
" Scenario: Test Characters\n" +
@@ -189,9 +189,8 @@ void should_print_encoded_characters() {
189189
"\n" +
190190
"Scenario: Test Characters # path/test.feature:2\n" +
191191
" Given first step # path/step_definitions.java:7\n" +
192-
" | URLEncoded | %71s%22i%22%3A%7B%22D |\n"));
193-
}
194-
192+
" | URLEncoded | %71s%22i%22%3A%7B%22D |\n"));
193+
}
195194

196195
@Test
197196
void should_print_tags() {

0 commit comments

Comments
 (0)