Skip to content

Commit

Permalink
Unit-test output changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed Oct 5, 2023
1 parent f9062f3 commit ad4169d
Show file tree
Hide file tree
Showing 10 changed files with 386 additions and 142 deletions.
97 changes: 71 additions & 26 deletions tests/data/valid/datazen-out-test/a.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,77 @@
a: {a: a, b: b, c: c}
b: {a: a, b: b, c: c}
---
json: json
yaml: yaml
top_list:
- d
- e
- f
- a
- b
- c
top_dict:
b:
b: b
a:
a: a
bad: 5
c: {a: a, b: b, c: c}
custom:
a: [test1, test2]
b: [test1, test2]
c: [test1, test2]
nested:
a: {a: a, b: b, c: c}
b: {a: a, b: b, c: c}
c: {a: a, b: b, c: c}
custom:
a: [test1, test2]
b: [test1, test2]
c: [test1, test2]
d: {d: d}
e: {e: e}
b:
a: a
b: b
c: c
c:
a: a
b: b
c: c
d:
d: d
e:
e: e
f:
f: f
a:
a: a
b: b
c: c
empty:
a:
a: {a: a}
f: {f: f}
json: json
a:
a: a
json2: json
top_dict:
a: {a: a}
b: {b: b}
top_list: [d, e, f, a, b, c]
yaml: yaml
yaml2: yaml
custom:
a:
- test1
- test2
b:
- test1
- test2
c:
- test1
- test2
nested:
a:
a: a
b: b
c: c
b:
a: a
b: b
c: c
c:
a: a
b: b
c: c
custom:
a:
- test1
- test2
b:
- test1
- test2
c:
- test1
- test2
yaml3: yaml
yaml3_dict: {a: a, b: b}
yaml3_dict:
a: a
b: b
28 changes: 22 additions & 6 deletions tests/data/valid/datazen-out-test/c.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
a: {a: a, b: b, c: c}
b: {a: a, b: b, c: c}
c: {a: a, b: b, c: c}
---
a:
a: a
b: b
c: c
b:
a: a
b: b
c: c
c:
a: a
b: b
c: c
custom:
a: [test1, test2]
b: [test1, test2]
c: [test1, test2]
a:
- test1
- test2
b:
- test1
- test2
c:
- test1
- test2
2 changes: 1 addition & 1 deletion tests/data/valid/datazen-out-test/child.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
=====================================
generator=datazen
version=3.1.3
version=3.1.4
hash=2484372c47afe099f7d18f760fe57ce7
=====================================
-->
Expand Down
99 changes: 72 additions & 27 deletions tests/data/valid/datazen-out-test/comp1-a.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,78 @@
a: {a: a, b: b, c: c}
b: {a: a, b: b, c: c}
---
json: json
yaml: yaml
top_list:
- d
- e
- f
- a
- b
- c
top_dict:
b:
b: b
a:
a: a
bad: 5
c: {a: a, b: b, c: c}
custom:
a: [test1, test2]
b: [test1, test2]
c: [test1, test2]
nested:
a: {a: a, b: b, c: c}
b: {a: a, b: b, c: c}
c: {a: a, b: b, c: c}
custom:
a: [test1, test2]
b: [test1, test2]
c: [test1, test2]
d: {d: d}
e: {e: e}
b:
a: a
b: b
c: c
c:
a: a
b: b
c: c
d:
d: d
e:
e: e
f:
f: f
a:
a: a
b: b
c: c
empty:
a:
a: {a: a}
f: {f: f}
json: json
a:
a: a
json2: json
test: a
top_dict:
a: {a: a}
b: {b: b}
top_list: [d, e, f, a, b, c]
yaml: yaml
yaml2: yaml
custom:
a:
- test1
- test2
b:
- test1
- test2
c:
- test1
- test2
nested:
a:
a: a
b: b
c: c
b:
a: a
b: b
c: c
c:
a: a
b: b
c: c
custom:
a:
- test1
- test2
b:
- test1
- test2
c:
- test1
- test2
yaml3: yaml
yaml3_dict: {a: a, b: b}
yaml3_dict:
a: a
b: b
test: a
93 changes: 68 additions & 25 deletions tests/data/valid/datazen-out-test/comp2-c.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,73 @@
a: {a: a, b: b, c: c}
b: {a: a, b: b, c: c}
---
json: json
yaml: yaml
top_list:
- d
- e
- f
- a
- b
- c
top_dict:
b:
b: b
a:
a: a
bad: 5
c: {a: a, b: b, c: c}
custom:
a: [test1, test2]
b: [test1, test2]
c: [test1, test2]
nested:
a: {a: a, b: b, c: c}
b: {a: a, b: b, c: c}
c: {a: a, b: b, c: c}
custom:
a: [test1, test2]
b: [test1, test2]
c: [test1, test2]
d: {d: d}
e: {e: e}
b:
a: a
b: b
c: c
c:
a: a
b: b
c: c
d:
d: d
e:
e: e
f:
f: f
a:
a: a
b: b
c: c
empty:
a:
a: {a: a}
f: {f: f}
json: json
a:
a: a
json2: json
top_dict:
a: {a: a}
b: {b: b}
top_list: [d, e, f, a, b, c]
yaml: yaml
yaml2: yaml
custom:
a:
- test1
- test2
b:
- test1
- test2
c:
- test1
- test2
nested:
a:
a: a
b: b
c: c
b:
a: a
b: b
c: c
c:
a: a
b: b
c: c
custom:
a:
- test1
- test2
b:
- test1
- test2
c:
- test1
- test2
Loading

0 comments on commit ad4169d

Please sign in to comment.