| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
- desolve-inferable: |
| 27 |
name: Remove inferable int tag |
| 28 |
node: |
| 29 |
tag: '!!int' |
| 30 |
value: '123' |
| 31 |
want: |
| 32 |
tag: '' |
| 33 |
style: Plain |
| 34 |
|
| 35 |
- desolve-inferable: |
| 36 |
name: Remove inferable bool tag |
| 37 |
node: |
| 38 |
tag: '!!bool' |
| 39 |
value: 'true' |
| 40 |
want: |
| 41 |
tag: '' |
| 42 |
style: Plain |
| 43 |
|
| 44 |
- desolve-inferable: |
| 45 |
name: Remove inferable float tag |
| 46 |
node: |
| 47 |
tag: '!!float' |
| 48 |
value: '3.14' |
| 49 |
want: |
| 50 |
tag: '' |
| 51 |
style: Plain |
| 52 |
|
| 53 |
- desolve-inferable: |
| 54 |
name: Remove inferable str tag |
| 55 |
node: |
| 56 |
tag: '!!str' |
| 57 |
value: 'hello' |
| 58 |
want: |
| 59 |
tag: '' |
| 60 |
style: Plain |
| 61 |
|
| 62 |
- desolve-preserve: |
| 63 |
name: Preserve custom tag |
| 64 |
node: |
| 65 |
tag: '!tag:something' |
| 66 |
value: '123' |
| 67 |
want: |
| 68 |
tag: '!tag:something' |
| 69 |
style: Plain |
| 70 |
|
| 71 |
- desolve-inferable: |
| 72 |
name: Elide implicit merge tag |
| 73 |
node: |
| 74 |
tag: '!!merge' |
| 75 |
value: '<<' |
| 76 |
want: |
| 77 |
tag: '' |
| 78 |
style: Plain |
| 79 |
|
| 80 |
- desolve-preserve: |
| 81 |
name: Preserve merge tag with TaggedStyle |
| 82 |
node: |
| 83 |
tag: '!!merge' |
| 84 |
value: '<<' |
| 85 |
style: Tagged |
| 86 |
want: |
| 87 |
tag: '!!merge' |
| 88 |
style: Tagged |
| 89 |
|
| 90 |
- desolve-preserve: |
| 91 |
name: Preserve binary tag |
| 92 |
node: |
| 93 |
tag: '!!binary' |
| 94 |
value: 'SGVsbG8=' |
| 95 |
want: |
| 96 |
tag: '!!binary' |
| 97 |
style: Plain |
| 98 |
|
| 99 |
- desolve-preserve: |
| 100 |
name: Preserve omap tag on collection |
| 101 |
node: |
| 102 |
tag: '!!omap' |
| 103 |
kind: Mapping |
| 104 |
want: |
| 105 |
kind: Mapping |
| 106 |
tag: '!!omap' |
| 107 |
|
| 108 |
- desolve-string-quoting: |
| 109 |
name: Quote string that looks like int |
| 110 |
node: |
| 111 |
tag: '!!str' |
| 112 |
value: '123' |
| 113 |
want: |
| 114 |
tag: '' |
| 115 |
style: Single |
| 116 |
|
| 117 |
- desolve-string-quoting: |
| 118 |
name: Quote string that looks like bool |
| 119 |
node: |
| 120 |
tag: '!!str' |
| 121 |
value: 'true' |
| 122 |
want: |
| 123 |
tag: '' |
| 124 |
style: Single |
| 125 |
|
| 126 |
- desolve-string-quoting: |
| 127 |
name: Quote string that looks like float |
| 128 |
node: |
| 129 |
tag: '!!str' |
| 130 |
value: '3.14' |
| 131 |
want: |
| 132 |
tag: '' |
| 133 |
style: Single |
| 134 |
|
| 135 |
- desolve-inferable: |
| 136 |
name: Remove float tag when value is integer |
| 137 |
node: |
| 138 |
tag: '!!float' |
| 139 |
value: '1' |
| 140 |
want: |
| 141 |
tag: '' |
| 142 |
style: Plain |
| 143 |
|
| 144 |
- desolve-preserve: |
| 145 |
name: Preserve tag with TaggedStyle |
| 146 |
node: |
| 147 |
tag: '!!int' |
| 148 |
value: '123' |
| 149 |
style: Tagged |
| 150 |
want: |
| 151 |
tag: '!!int' |