Skip to content
This repository was archived by the owner on Oct 25, 2023. It is now read-only.

Commit 564c6f6

Browse files
author
yweber
committed
extension -> rule
1 parent c5273c3 commit 564c6f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ You can define a custom image and tag in the constructor:
150150
### JUnit 5
151151

152152
@RegisterExtension
153-
final @NotNull HiveMQTestContainerExtension extension =
153+
final @NotNull HiveMQTestContainerExtension rule =
154154
new HiveMQTestContainerExtension("hivemq/hivemq4", "latest")
155155
.withHiveMQConfig(new File("src/test/resources/config.xml"));
156156
@@ -162,7 +162,7 @@ You can package and load an extension from a maven project.
162162
### JUnit 4
163163

164164
@Rule
165-
public final @NotNull HiveMQTestContainerRule extension =
165+
public final @NotNull HiveMQTestContainerRule rule =
166166
new HiveMQTestContainerRule()
167167
.withExtension(new MavenHiveMQExtensionSupplier("path/to/extension/pom.xml").get());
168168

0 commit comments

Comments
 (0)