Add more unit tests.
[pyyaml/python3.git] / tests / data / resolver.path
blobec677d2d18c88af67822c2016ec973750ccbb917
1 --- !root/scalar
2 "this scalar should be selected"
3 --- !root
4 key11: !foo
5     key12: !root/key11/key12/*
6         is: [selected]
7     key22:
8         key13: [not, selected]
9         key23: [not, selected]
10     key32:
11         key31: [not, selected]
12         key32: [not, selected]
13         key33: {not: selected}
14 key21: !bar
15     - not selected
16     - !root/key21/1/* selected
17     - not selected
18 key31: !baz
19     key12:
20         key13:
21             key14: !root/key31/*/*/key14/map {selected}
22         key23:
23             key14: [not, selected]
24         key33:
25             key14: !root/key31/*/*/key14/map {selected}
26             key24: {not: selected}
27     key22:
28         -   key14: !root/key31/*/*/key14/map {selected}
29             key24: {not: selected}
30         -   key14: !root/key31/*/*/key14/map {selected}