Become a bit stricter: do full-line pattern match, and update unit tests to capture the full error output
This commit is contained in:
@ -2,7 +2,7 @@ test:
|
||||
description: "Interface description field mistyped"
|
||||
errors:
|
||||
expected:
|
||||
- "descr.*Unexpected element"
|
||||
- "yamale:.*descr: Unexpected element"
|
||||
count: 1
|
||||
---
|
||||
interfaces:
|
||||
|
Reference in New Issue
Block a user