Skip to content

Commit 9152217

Browse files
committed
Fix JUnit's @nested usage
1 parent 627a821 commit 9152217

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/tracing/CompositePropagationFactoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void requires128BitTraceId() {
6565
}
6666

6767
@Nested
68-
static class CompostePropagationTests {
68+
class CompositePropagationTests {
6969

7070
@Test
7171
void keys() {

spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/DevToolsR2dbcAutoConfigurationTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -152,12 +152,12 @@ private void onEvent(R2dbcDatabaseShutdownEvent event) {
152152

153153
@Nested
154154
@ClassPathExclusions("r2dbc-pool*.jar")
155-
static class Embedded extends Common {
155+
class Embedded extends Common {
156156

157157
}
158158

159159
@Nested
160-
static class Pooled extends Common {
160+
class Pooled extends Common {
161161

162162
}
163163

0 commit comments

Comments
 (0)