| 1 | package cli_testscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/ |
| 2 | |
| 3 | import ( |
| 4 | "fmtscip-go gomod github.com/golang/go/src go1.25 fmt/" |
| 5 | "slicesscip-go gomod github.com/golang/go/src go1.25 slices/" |
| 6 | "testingscip-go gomod github.com/golang/go/src go1.25 testing/" |
| 7 | |
| 8 | "github.com/tomwright/dasel/v3/parsingscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/" |
| 9 | "github.com/tomwright/dasel/v3/parsing/jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/" |
| 10 | "github.com/tomwright/dasel/v3/parsing/kdlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/kdl`/" |
| 11 | "github.com/tomwright/dasel/v3/parsing/tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/" |
| 12 | "github.com/tomwright/dasel/v3/parsing/yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/" |
| 13 | ) |
| 14 | |
| 15 | func newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(format parsingscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/.Formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/Format#, data string) bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat# { |
| 16 | return bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 17 | formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#format.: format, |
| 18 | datascip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#data.: append([]byte(data), []byte("\n")...), |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | type bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat# struct { |
| 23 | formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#format. parsingscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/.Formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/Format# |
| 24 | datascip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#data. []byte |
| 25 | } |
| 26 | |
| 27 | type testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases# struct { |
| 28 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector. string |
| 29 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in. []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat# |
| 30 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out. []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat# |
| 31 | argsscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#args. []string |
| 32 | skipscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#skip. []string |
| 33 | } |
| 34 | |
| 35 | func (tcs testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#) runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().(t *testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 36 | for _, i := range tcs.inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in. { |
| 37 | for _, o := range tcs.outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out. { |
| 38 | tcName := fmtscip-go gomod github.com/golang/go/src go1.25 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.25 fmt/Sprintf().("%s to %s", i.formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#format..Stringscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/Format#String().(), o.formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#format..Stringscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/Format#String().()) |
| 39 | |
| 40 | if slicesscip-go gomod github.com/golang/go/src go1.25 slices/.Containsscip-go gomod github.com/golang/go/src go1.25 slices/Contains().(tcs.skipscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#skip., tcName) { |
| 41 | // Run a test and skip for visibility. |
| 42 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().(tcName, func(t *testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 43 | t.Skipscip-go gomod github.com/golang/go/src go1.25 testing/common#Skip().() |
| 44 | }) |
| 45 | continue |
| 46 | } |
| 47 | |
| 48 | args := slicesscip-go gomod github.com/golang/go/src go1.25 slices/.Clonescip-go gomod github.com/golang/go/src go1.25 slices/Clone().(tcs.argsscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#args.) |
| 49 | args = append(args, "-i", i.formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#format..Stringscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/Format#String().(), "-o", o.formatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#format..Stringscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing`/Format#String().()) |
| 50 | if tcs.selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector. != "" { |
| 51 | args = append(args, tcs.selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.) |
| 52 | } |
| 53 | tc := testCasescip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCase#{ |
| 54 | argsscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCase#args.: args, |
| 55 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCase#in.: i.datascip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#data., |
| 56 | stdoutscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCase#stdout.: o.datascip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#data., |
| 57 | } |
| 58 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().(tcName, runTestscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/runTest().(tc)) |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | func TestCrossFormatHappyPathscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/TestCrossFormatHappyPath().(t *testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 64 | jsonInputData := newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `{ |
| 65 | "oneTwoThree": 123, |
| 66 | "oneTwoDotThree": 12.3, |
| 67 | "hello": "world", |
| 68 | "boolFalse": false, |
| 69 | "boolTrue": true, |
| 70 | "stringFalse": "false", |
| 71 | "stringTrue": "true", |
| 72 | "sliceOfNumbers": [1, 2, 3, 4, 5], |
| 73 | "mapData": { |
| 74 | "oneTwoThree": 123, |
| 75 | "oneTwoDotThree": 12.3, |
| 76 | "hello": "world", |
| 77 | "boolFalse": false, |
| 78 | "boolTrue": true, |
| 79 | "stringFalse": "false", |
| 80 | "stringTrue": "true", |
| 81 | "sliceOfNumbers": [1, 2, 3, 4, 5], |
| 82 | "mapData": { |
| 83 | "oneTwoThree": 123, |
| 84 | "oneTwoDotThree": 12.3, |
| 85 | "hello": "world", |
| 86 | "boolFalse": false, |
| 87 | "boolTrue": true, |
| 88 | "stringFalse": "false", |
| 89 | "stringTrue": "true", |
| 90 | "sliceOfNumbers": [1, 2, 3, 4, 5] |
| 91 | } |
| 92 | } |
| 93 | }`) |
| 94 | yamlInputData := newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `oneTwoThree: 123 |
| 95 | oneTwoDotThree: 12.3 |
| 96 | hello: world |
| 97 | boolFalse: false |
| 98 | boolTrue: true |
| 99 | stringFalse: "false" |
| 100 | stringTrue: "true" |
| 101 | sliceOfNumbers: |
| 102 | - 1 |
| 103 | - 2 |
| 104 | - 3 |
| 105 | - 4 |
| 106 | - 5 |
| 107 | mapData: |
| 108 | oneTwoThree: 123 |
| 109 | oneTwoDotThree: 12.3 |
| 110 | hello: world |
| 111 | boolFalse: false |
| 112 | boolTrue: true |
| 113 | stringFalse: "false" |
| 114 | stringTrue: "true" |
| 115 | sliceOfNumbers: |
| 116 | - 1 |
| 117 | - 2 |
| 118 | - 3 |
| 119 | - 4 |
| 120 | - 5 |
| 121 | mapData: |
| 122 | oneTwoThree: 123 |
| 123 | oneTwoDotThree: 12.3 |
| 124 | hello: world |
| 125 | boolFalse: false |
| 126 | boolTrue: true |
| 127 | stringFalse: "false" |
| 128 | stringTrue: "true" |
| 129 | sliceOfNumbers: |
| 130 | - 1 |
| 131 | - 2 |
| 132 | - 3 |
| 133 | - 4 |
| 134 | - 5 |
| 135 | `) |
| 136 | |
| 137 | tomlInputData := newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., ` |
| 138 | oneTwoThree = 123 |
| 139 | oneTwoDotThree = 12.3 |
| 140 | hello = 'world' |
| 141 | boolFalse = false |
| 142 | boolTrue = true |
| 143 | stringFalse = 'false' |
| 144 | stringTrue = 'true' |
| 145 | sliceOfNumbers = [1, 2, 3, 4, 5] |
| 146 | |
| 147 | [mapData] |
| 148 | oneTwoThree = 123 |
| 149 | oneTwoDotThree = 12.3 |
| 150 | hello = 'world' |
| 151 | boolFalse = false |
| 152 | boolTrue = true |
| 153 | stringFalse = 'false' |
| 154 | stringTrue = 'true' |
| 155 | sliceOfNumbers = [1, 2, 3, 4, 5] |
| 156 | |
| 157 | [mapData.mapData] |
| 158 | oneTwoThree = 123 |
| 159 | oneTwoDotThree = 12.3 |
| 160 | hello = 'world' |
| 161 | boolFalse = false |
| 162 | boolTrue = true |
| 163 | stringFalse = 'false' |
| 164 | stringTrue = 'true' |
| 165 | sliceOfNumbers = [1, 2, 3, 4, 5] |
| 166 | `) |
| 167 | |
| 168 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("select", func(t *testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 169 | newTestsWithPrefix := func(prefix string) func(*testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 170 | return func(t *testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 171 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("string", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 172 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: prefix + "hello", |
| 173 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 174 | jsonInputData, |
| 175 | yamlInputData, |
| 176 | tomlInputData, |
| 177 | }, |
| 178 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 179 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `"world"`), |
| 180 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `world`), |
| 181 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `'world'`), |
| 182 | }, |
| 183 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 184 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("int", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 185 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: prefix + "oneTwoThree", |
| 186 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 187 | jsonInputData, |
| 188 | yamlInputData, |
| 189 | tomlInputData, |
| 190 | }, |
| 191 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 192 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `123`), |
| 193 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `123`), |
| 194 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `123`), |
| 195 | }, |
| 196 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 197 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("float", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 198 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: prefix + "oneTwoDotThree", |
| 199 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 200 | jsonInputData, |
| 201 | yamlInputData, |
| 202 | tomlInputData, |
| 203 | }, |
| 204 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 205 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `12.3`), |
| 206 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `12.3`), |
| 207 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `12.3`), |
| 208 | }, |
| 209 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 210 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("bool", func(t *testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 211 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("true", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 212 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: prefix + "boolTrue", |
| 213 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 214 | jsonInputData, |
| 215 | yamlInputData, |
| 216 | }, |
| 217 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 218 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `true`), |
| 219 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `true`), |
| 220 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `true`), |
| 221 | }, |
| 222 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 223 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("false", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 224 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: prefix + "boolFalse", |
| 225 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 226 | jsonInputData, |
| 227 | yamlInputData, |
| 228 | }, |
| 229 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 230 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `false`), |
| 231 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `false`), |
| 232 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `false`), |
| 233 | }, |
| 234 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 235 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("true string", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 236 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: prefix + "stringTrue", |
| 237 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 238 | jsonInputData, |
| 239 | yamlInputData, |
| 240 | }, |
| 241 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 242 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `"true"`), |
| 243 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `"true"`), |
| 244 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `'true'`), |
| 245 | }, |
| 246 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 247 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("false string", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 248 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: prefix + "stringFalse", |
| 249 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 250 | jsonInputData, |
| 251 | yamlInputData, |
| 252 | }, |
| 253 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 254 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `"false"`), |
| 255 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `"false"`), |
| 256 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `'false'`), |
| 257 | }, |
| 258 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 259 | }) |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("root", newTestsWithPrefix("")) |
| 264 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("nested once", newTestsWithPrefix("mapData.")) |
| 265 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("nested twice", newTestsWithPrefix("mapData.mapData.")) |
| 266 | }) |
| 267 | } |
| 268 | |
| 269 | func TestKDLCrossFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/TestKDLCrossFormat().(t *testingscip-go gomod github.com/golang/go/src go1.25 testing/.Tscip-go gomod github.com/golang/go/src go1.25 testing/T#) { |
| 270 | kdlInputData := newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(kdlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/kdl`/.KDLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/kdl`/KDL., `hello "world" |
| 271 | oneTwoThree 123 |
| 272 | oneTwoDotThree 12.3 |
| 273 | boolTrue #true |
| 274 | boolFalse #false`) |
| 275 | |
| 276 | jsonInputData := newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `{ |
| 277 | "hello": "world", |
| 278 | "oneTwoThree": 123, |
| 279 | "oneTwoDotThree": 12.3, |
| 280 | "boolTrue": true, |
| 281 | "boolFalse": false |
| 282 | }`) |
| 283 | |
| 284 | yamlInputData := newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `hello: world |
| 285 | oneTwoThree: 123 |
| 286 | oneTwoDotThree: 12.3 |
| 287 | boolTrue: true |
| 288 | boolFalse: false`) |
| 289 | |
| 290 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("select string", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 291 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "hello", |
| 292 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 293 | kdlInputData, |
| 294 | jsonInputData, |
| 295 | yamlInputData, |
| 296 | }, |
| 297 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 298 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `"world"`), |
| 299 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `world`), |
| 300 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `'world'`), |
| 301 | }, |
| 302 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 303 | |
| 304 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("select int", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 305 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "oneTwoThree", |
| 306 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 307 | kdlInputData, |
| 308 | jsonInputData, |
| 309 | yamlInputData, |
| 310 | }, |
| 311 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 312 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `123`), |
| 313 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `123`), |
| 314 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `123`), |
| 315 | }, |
| 316 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 317 | |
| 318 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("select float", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 319 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "oneTwoDotThree", |
| 320 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 321 | kdlInputData, |
| 322 | jsonInputData, |
| 323 | yamlInputData, |
| 324 | }, |
| 325 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 326 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `12.3`), |
| 327 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `12.3`), |
| 328 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `12.3`), |
| 329 | }, |
| 330 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 331 | |
| 332 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("select bool true", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 333 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "boolTrue", |
| 334 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 335 | kdlInputData, |
| 336 | jsonInputData, |
| 337 | yamlInputData, |
| 338 | }, |
| 339 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 340 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `true`), |
| 341 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `true`), |
| 342 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `true`), |
| 343 | }, |
| 344 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 345 | |
| 346 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("select bool false", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 347 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "boolFalse", |
| 348 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 349 | kdlInputData, |
| 350 | jsonInputData, |
| 351 | yamlInputData, |
| 352 | }, |
| 353 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 354 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `false`), |
| 355 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(yamlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/.YAMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/yaml`/YAML., `false`), |
| 356 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(tomlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/.TOMLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/toml`/TOML., `false`), |
| 357 | }, |
| 358 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 359 | |
| 360 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("KDL to JSON full document", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 361 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "$root", |
| 362 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 363 | kdlInputData, |
| 364 | }, |
| 365 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 366 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(jsonscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/.JSONscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/json`/JSON., `{ |
| 367 | "hello": "world", |
| 368 | "oneTwoThree": 123, |
| 369 | "oneTwoDotThree": 12.3, |
| 370 | "boolTrue": true, |
| 371 | "boolFalse": false |
| 372 | }`), |
| 373 | }, |
| 374 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 375 | |
| 376 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("JSON to KDL full document", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 377 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "$root", |
| 378 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 379 | jsonInputData, |
| 380 | }, |
| 381 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 382 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(kdlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/kdl`/.KDLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/kdl`/KDL., `hello "world" |
| 383 | oneTwoThree 123 |
| 384 | oneTwoDotThree 12.3 |
| 385 | boolTrue #true |
| 386 | boolFalse #false`), |
| 387 | }, |
| 388 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 389 | |
| 390 | t.Runscip-go gomod github.com/golang/go/src go1.25 testing/T#Run().("YAML to KDL full document", testCasesscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#{ |
| 391 | selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#selector.: "$root", |
| 392 | inscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#in.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 393 | yamlInputData, |
| 394 | }, |
| 395 | outscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#out.: []bytesWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/bytesWithFormat#{ |
| 396 | newStringWithFormatscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/newStringWithFormat().(kdlscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/kdl`/.KDLscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/parsing/kdl`/KDL., `hello "world" |
| 397 | oneTwoThree 123 |
| 398 | oneTwoDotThree 12.3 |
| 399 | boolTrue #true |
| 400 | boolFalse #false`), |
| 401 | }, |
| 402 | }.runscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/internal/cli_test`/testCases#run().) |
| 403 | } |