@@ -18,21 +18,21 @@ class MatchersTest {
18
18
19
19
@ ParameterizedTest (name = "Slayer task completion message should trigger {0}" )
20
20
@ ArgumentsSource (SlayerTaskProvider .class )
21
- void SlayerTaskCompletionRegexFindsMatch (String message , String task ) {
21
+ void slayerTaskCompletionRegexFindsMatch (String message , String task ) {
22
22
Matcher matcher = SlayerNotifier .SLAYER_TASK_REGEX .matcher (message );
23
23
assertTrue (matcher .find ());
24
24
assertEquals (task , matcher .group ("task" ));
25
25
}
26
26
27
- @ ParameterizedTest (name = "Slayer task completion message should trigger {0}" )
27
+ @ ParameterizedTest (name = "Slayer task completion message should not trigger {0}" )
28
28
@ ValueSource (
29
29
strings = {
30
30
"Forsen: forsen" ,
31
31
"You're assigned to kill kalphite; only 3 more to go." ,
32
32
"You've completed 234 tasks and received 15 points, giving you a total of 801; return to a Slayer master."
33
33
}
34
34
)
35
- void SlayerTaskCompletionRegexDoesNotMatch (String message ) {
35
+ void slayerTaskCompletionRegexDoesNotMatch (String message ) {
36
36
Matcher matcher = SlayerNotifier .SLAYER_TASK_REGEX .matcher (message );
37
37
assertFalse (matcher .find ());
38
38
}
@@ -74,7 +74,7 @@ void collectionLogRegexFindsMatch(String message, String item) {
74
74
"Forsen: forsen" // todo: add more bad examples
75
75
}
76
76
)
77
- void CollectionLogRegexDoesNotMatch (String message ) {
77
+ void collectionLogRegexDoesNotMatch (String message ) {
78
78
Matcher matcher = CollectionNotifier .COLLECTION_LOG_REGEX .matcher (message );
79
79
assertFalse (matcher .find ());
80
80
}
@@ -107,7 +107,7 @@ public Stream<? extends Arguments> provideArguments(ExtensionContext context) {
107
107
"You feel something weird sneaking into your backpack."
108
108
}
109
109
)
110
- void PetRegexFindsMatch (String message ) {
110
+ void petRegexFindsMatch (String message ) {
111
111
Matcher matcher = PetNotifier .PET_REGEX .matcher (message );
112
112
assertTrue (matcher .find ());
113
113
}
@@ -119,7 +119,7 @@ void PetRegexFindsMatch(String message) {
119
119
"You feel like you forgot to turn the stove off"
120
120
}
121
121
)
122
- void PetRegexDoesNotMatch (String message ) {
122
+ void petRegexDoesNotMatch (String message ) {
123
123
Matcher matcher = PetNotifier .PET_REGEX .matcher (message );
124
124
assertFalse (matcher .find ());
125
125
}
0 commit comments