Skip to content

Commit 6ddb17d

Browse files
committed
Fix class names to match names used in related note
1 parent 7bebea4 commit 6ddb17d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

documentation/src/docs/asciidoc/user-guide/extensions.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Multiple extensions can be registered together like this:
5252
[source,java,indent=0]
5353
----
5454
@ExtendWith({ FooExtension.class, BarExtension.class })
55-
class MyTests {
55+
class MyFirstTests {
5656
// ...
5757
}
5858
----
@@ -63,15 +63,15 @@ As an alternative, multiple extensions can be registered separately like this:
6363
----
6464
@ExtendWith(FooExtension.class)
6565
@ExtendWith(BarExtension.class)
66-
class MyTests {
66+
class MySecondTests {
6767
// ...
6868
}
6969
----
7070

7171
.Extension Registration Order
7272
NOTE: Extensions registered declaratively via `@ExtendWith` will be executed in the order
7373
in which they are declared in the source code. For example, the execution of tests in
74-
both `MyTestsV1` and `MyTestsV2` will be extended by the `FooExtension` and
74+
both `MyFirstTests` and `MySecondTests` will be extended by the `FooExtension` and
7575
`BarExtension`, **in exactly that order**.
7676

7777
[[extensions-registration-programmatic]]

0 commit comments

Comments
 (0)