We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50c137a commit c5c9125Copy full SHA for c5c9125
cue/types_test.go
@@ -1129,6 +1129,14 @@ func TestFillPath(t *testing.T) {
1129
out: `
1130
{foo: {x: 1, bar: baz: 1}}
1131
`,
1132
+ }, {
1133
+ // empty path
1134
+ in: `
1135
+ _
1136
+ #foo: 1
1137
+ `,
1138
+ x: ast.NewIdent("#foo"),
1139
+ out: `{1, #foo: 1}`,
1140
}}
1141
1142
for _, tc := range testCases {
0 commit comments