Skip to content

Commit 09b8bc4

Browse files
committed
Polishing
1 parent e78114e commit 09b8bc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-6.1.0-M2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ repository on GitHub.
4646
==== New Features and Improvements
4747

4848
* Trim internal stack frames from `AssertionFailedError` stack traces.
49-
* Introduce new `trimStacktrace(Class<?>)` method for `AssertionFailureBuilder`. It allows user defined assertions to trim their stacktrace.
49+
* Introduce new `trimStacktrace(Class<?>, int)` method for `AssertionFailureBuilder`. It allows user defined assertions to trim their stacktrace.
5050

5151
[[release-notes-6.1.0-M2-junit-vintage]]
5252
=== JUnit Vintage

platform-tests/src/test/java/org/junit/platform/StackTracePruningTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void shouldAlwaysKeepJupiterAssumptionStackTraceElement() {
116116
}
117117

118118
@Test
119-
void shouldKeepExactlyEverythingBeforeAssertionsCall() {
119+
void shouldKeepExactlyEverythingBetweenTestCallAndFirstAssertionCall() {
120120
EngineExecutionResults results = EngineTestKit.engine("junit-jupiter") //
121121
.configurationParameter("junit.platform.stacktrace.pruning.enabled", "true") //
122122
.selectors(selectMethod(FailingTestTestCase.class, "failingAssertion")) //

0 commit comments

Comments
 (0)