Skip to content

Commit 27d7fb8

Browse files
committed
fixup! use startsWith, not contains
1 parent a253d89 commit 27d7fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/itest/PresetRulesIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void shouldHavePresetQuarkusRule() throws Exception {
7171
Matchers.equalTo("template=Quarkus,type=PRESET"));
7272
MatcherAssert.assertThat(
7373
json.get("matchExpression").asText(),
74-
Matchers.equalTo("jfrEventTypeIds(target).exists(x, x.contains(\"quarkus\"))"));
74+
Matchers.equalTo("jfrEventTypeIds(target).exists(x, x.startsWith(\"quarkus\"))"));
7575
MatcherAssert.assertThat(json.get("enabled").asBoolean(), Matchers.is(false));
7676
}
7777
}

0 commit comments

Comments
 (0)