From 9dcab94bc4846837cae5e52d37fb7157280f0545 Mon Sep 17 00:00:00 2001 From: Dirk Mahler Date: Mon, 26 Feb 2024 21:34:31 +0100 Subject: [PATCH] fixed assertion for rule result in IT --- maven/src/it/yaml/violated-constraint/verify.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven/src/it/yaml/violated-constraint/verify.groovy b/maven/src/it/yaml/violated-constraint/verify.groovy index a5ed0d4cef..879d84f0ac 100644 --- a/maven/src/it/yaml/violated-constraint/verify.groovy +++ b/maven/src/it/yaml/violated-constraint/verify.groovy @@ -14,7 +14,7 @@ assert buildLog.getText().contains('[ERROR] Constraint: violatedConcept') assert buildLog.getText().contains('[ERROR] Severity: MAJOR') assert buildLog.getText().contains('[ERROR] Number of rows: 1') assert buildLog.getText().contains('[ERROR] foobar') -assert buildLog.getText().contains('[ERROR] c=com.buschmais.jqassistant.maven.it.yaml.violatedconstraint.AClass') +assert buildLog.getText().contains('[ERROR] c=com.buschmais.jqassistant.maven.it.yaml.violatedconstraint.AClass') // Only one constraint should have been violated assert buildLog.getText().contains('Failed rules detected: 0 concepts, 1 constraints')