Make the test.errors.count value explicit, update tests which had an implicit count

This commit is contained in:
Pim van Pelt
2022-03-20 19:44:29 +00:00
parent 1ff3ae95cc
commit e46cf3d3a8
8 changed files with 10 additions and 6 deletions

View File

@ -4,6 +4,7 @@ test:
expected:
- "mtu.*less than 128"
- "mtu.*greater than 9216"
count: 2
---
interfaces:
GigabitEthernet1/0/0:

View File

@ -3,6 +3,7 @@ test:
errors:
expected:
- "sub-interface .* has MTU 9001 higher than parent MTU 9000"
count: 1
---
interfaces:
GigabitEthernet1/0/0:

View File

@ -4,6 +4,7 @@ test:
expected:
- "100 .* unique encapsulation"
- "101 .* unique encapsulation"
count: 2
---
interfaces:
GigabitEthernet1/0/0:

View File

@ -3,6 +3,7 @@ test:
errors:
expected:
- "sub-interface .* has LCP but .* does not have LCP"
count: 1
---
interfaces:
GigabitEthernet1/0/0:

View File

@ -3,6 +3,7 @@ test:
errors:
expected:
- "sub-interface .* has LCP with too long name"
count: 1
---
interfaces:
GigabitEthernet1/0/0:

View File

@ -3,6 +3,7 @@ test:
errors:
expected:
- "sub-interface .* has an address but .* does not have LCP"
count: 1
---
interfaces:
GigabitEthernet1/0/0:

View File

@ -3,6 +3,7 @@ test:
errors:
expected:
- "sub-interface .* has no config"
count: 1
---
interfaces:
GigabitEthernet1/0/0: