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,8 +2,8 @@ test:
|
||||
description: "MTU too small on one interface, too large on another"
|
||||
errors:
|
||||
expected:
|
||||
- "mtu.*less than 128"
|
||||
- "mtu.*greater than 9216"
|
||||
- "yamale:.*mtu: 127 is less than 128"
|
||||
- "yamale:.*mtu: 9217 is greater than 9216"
|
||||
count: 2
|
||||
---
|
||||
interfaces:
|
||||
|
Reference in New Issue
Block a user