Add some more garbage fields and tpyoes

This commit is contained in:
Pim van Pelt
2022-03-13 20:38:12 +00:00
parent 2ca7cc3f11
commit 660e240eb7

View File

@ -3,7 +3,8 @@ test:
errors: errors:
expected: expected:
- "yamale: .* is not a " - "yamale: .* is not a "
count: 9 - "yamale: .*: Unexpected element"
count: 11
--- ---
interfaces: interfaces:
GigabitEthernet1/0/0: GigabitEthernet1/0/0:
@ -16,3 +17,9 @@ interfaces:
description: [ "a", "list" ] description: [ "a", "list" ]
encapsulation: encapsulation:
dot1q: "hello world" dot1q: "hello world"
garbage:
description: "There's no 'garbage' scope"
loopback:
loop0:
description: "The toplevel scope is 'loopbacks' plural"