Skip to content

Commit 078d694

Browse files
committed
Fix: reorder expected output in TestToString for clarity
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com>
1 parent 49c4c1e commit 078d694

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/cue/model/sets/utils_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ func TestToString(t *testing.T) {
3737
foo: int
3838
lacy: string
3939
`,
40-
expected: `foo: int
41-
lacy: string
40+
expected: `lacy: string
41+
foo: int
4242
`},
4343
{
4444
s: ` import "strconv"
4545
foo: strconv.Atoi("100")
4646
lacy: string
4747
`,
48-
expected: `foo: 100
49-
lacy: string
48+
expected: `lacy: string
49+
foo: 100
5050
`},
5151
{
5252
s: `

0 commit comments

Comments
 (0)