diff --git a/src/test/java/itest/PresetRulesIT.java b/src/test/java/itest/PresetRulesIT.java index a4b561b62..86b84ac9f 100644 --- a/src/test/java/itest/PresetRulesIT.java +++ b/src/test/java/itest/PresetRulesIT.java @@ -71,7 +71,7 @@ public void shouldHavePresetQuarkusRule() throws Exception { Matchers.equalTo("template=Quarkus,type=PRESET")); MatcherAssert.assertThat( json.get("matchExpression").asText(), - Matchers.equalTo("jfrEventTypeIds(target).exists(x, x.contains(\"quarkus\"))")); + Matchers.equalTo("jfrEventTypeIds(target).exists(x, x.startsWith(\"quarkus\"))")); MatcherAssert.assertThat(json.get("enabled").asBoolean(), Matchers.is(false)); } }