test(aa-log): update tests to the last changes.
This commit is contained in:
parent
e1f665aec1
commit
a8c18f9b94
4 changed files with 50 additions and 41 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue