mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-02 15:14:52 +08:00
16 lines
431 B
Go
16 lines
431 B
Go
package yqlib
|
|
|
|
// func TestSingScenarioForDebugging(t *testing.T) {
|
|
// logging.SetLevel(logging.DEBUG, "")
|
|
// testScenario(t, &expressionScenario{
|
|
// description: "Dont explode alias and anchor - check alias parent",
|
|
// skipDoc: true,
|
|
// document: `{a: &a [1], b: *a}`,
|
|
// expression: `.b[0]`,
|
|
// expected: []string{
|
|
// "D0, P[a 0], (!!int)::1\n",
|
|
// },
|
|
// })
|
|
// logging.SetLevel(logging.ERROR, "")
|
|
// }
|