You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/system/OutputCapture.java
+1-3
Original file line number
Diff line number
Diff line change
@@ -126,9 +126,7 @@ void reset() {
126
126
}
127
127
128
128
privateStringget(Predicate<Type> filter) {
129
-
Assert.state(!this.systemCaptures.isEmpty(),
130
-
"No system captures found. Check that you have used @RegisterExtension "
131
-
+ "or @ExtendWith and the fields are not private");
129
+
Assert.state(!this.systemCaptures.isEmpty(), "No system captures found. Check that you have used @ExtendWith.");
132
130
StringBuilderbuilder = newStringBuilder();
133
131
for (SystemCapturesystemCapture : this.systemCaptures) {
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/system/OutputCapture.java
+1-3
Original file line number
Diff line number
Diff line change
@@ -113,9 +113,7 @@ void reset() {
113
113
}
114
114
115
115
privateStringget(Predicate<Type> filter) {
116
-
Assert.state(!this.systemCaptures.isEmpty(),
117
-
"No system captures found. Check that you have used @RegisterExtension "
118
-
+ "or @ExtendWith and the fields are not private");
116
+
Assert.state(!this.systemCaptures.isEmpty(), "No system captures found. Check that you have used @ExtendWith.");
119
117
StringBuilderbuilder = newStringBuilder();
120
118
for (SystemCapturesystemCapture : this.systemCaptures) {
0 commit comments