test(aa-log): update tests to the last changes.

This commit is contained in:
Alexandre Pujol 2024-09-27 12:20:48 +01:00
parent e1f665aec1
commit a8c18f9b94
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
4 changed files with 50 additions and 41 deletions

View file

@ -187,11 +187,11 @@ func parseParagraph(input string) (Rules, error) {
}
res = append(res, rrr...)
for _, r := range res {
if r.Constraint() == PreambleRule {
return nil, fmt.Errorf("Rule not allowed in block: %s", r)
}
}
// for _, r := range res {
// if r.Constraint() == PreambleRule {
// return nil, fmt.Errorf("Rule not allowed in block: %s", r)
// }
// }
return res, nil
}