feat: add support for yaml files
This commit is contained in:
parent
81dfdacb33
commit
9eccdccc5c
11 changed files with 51 additions and 2 deletions
3
test_data/full.yaml
Normal file
3
test_data/full.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
string: default string
|
||||
invariant: should not change
|
||||
int: 1
|
1
test_data/invalid.yaml
Normal file
1
test_data/invalid.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
String = not yaml
|
1
test_data/part1.yaml
Normal file
1
test_data/part1.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
string: foo
|
1
test_data/part2.yaml
Normal file
1
test_data/part2.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
int: 42
|
1
test_data/same1.yaml
Normal file
1
test_data/same1.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
string: foo
|
1
test_data/same2.yaml
Normal file
1
test_data/same2.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
string: bar
|
3
test_data/unknown.yaml
Normal file
3
test_data/unknown.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
String: config string
|
||||
Int: 42
|
||||
Unknown: "foo"
|
2
test_data/valid.yaml
Normal file
2
test_data/valid.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
string: config string
|
||||
int: 42
|
Loading…
Add table
Add a link
Reference in a new issue