Skip to content

Commit

Permalink
fixed assertion for rule result in IT
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkMahler committed Feb 26, 2024
1 parent 560ec4f commit 9dcab94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maven/src/it/yaml/violated-constraint/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 9dcab94

Please sign in to comment.