Remove the attempted plural 'address(es)', and keep it singular. Fix a typo (addd-ress); update unit tests
This commit is contained in:
@ -2,7 +2,7 @@ test:
|
||||
description: "Members of a BondEthernet can't have addresses"
|
||||
errors:
|
||||
expected:
|
||||
- "bondethernet .* member .* has address"
|
||||
- "bondethernet .* member .* has an address"
|
||||
- "bondethernet .* member .* has an LCP"
|
||||
count: 2
|
||||
---
|
||||
|
@ -2,8 +2,8 @@ test:
|
||||
description: "Interfaces put into the bridge, can't be L3 (so cannot have an address)"
|
||||
errors:
|
||||
expected:
|
||||
- "interface .* has adddress.* but no LCP"
|
||||
- "sub-interface .* has address.* but .* does not have LCP"
|
||||
- "interface .* has an address but no LCP"
|
||||
- "sub-interface .* has an address but .* does not have LCP"
|
||||
- "bridgedomain .* member .* has an address"
|
||||
count: 6
|
||||
---
|
||||
|
@ -2,7 +2,7 @@ test:
|
||||
description: "Sub-interface with addresses must have an LCP. Gi1/0/0 does this wrong, while Gi2/0/0 does it correctly"
|
||||
errors:
|
||||
expected:
|
||||
- "sub-interface .* has address.* but .* does not have LCP"
|
||||
- "sub-interface .* has an address but .* does not have LCP"
|
||||
---
|
||||
interfaces:
|
||||
GigabitEthernet1/0/0:
|
||||
|
Reference in New Issue
Block a user