Skip to content

Commit

Permalink
Use import static for Assertions in archetype (#2899)
Browse files Browse the repository at this point in the history
Fixes: #2898
  • Loading branch information
paltaie authored Jul 5, 2024
1 parent e9f99b1 commit 85da54b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- [Core] Include parameterized scenario name in JUnit and TestNG XML report
- [Archetype] Use `import static` for Assertions in archetype ([#2899](https://github.com/cucumber/cucumber-jvm/issues/2798) Patrick Altaie)

## [7.18.0] - 2024-05-17
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import io.cucumber.java.en.*;

import org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.*;

public class StepDefinitions {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import io.cucumber.java.en.*;

import org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.*;

public class StepDefinitions {

Expand Down

0 comments on commit 85da54b

Please sign in to comment.