Skip to content

Commit d4d109e

Browse files
committed
cmd/cue: fix up fmt_multi comparison
I suspect that out/star-cue was meant to be a check for star.cue, not x.cue, which already had out/x.cue. Signed-off-by: Daniel Martí <[email protected]> Change-Id: Iefa68fae3bea616f53ce0639b2f090ff6c44f0d6 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/557333 Reviewed-by: Paul Jolly <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent 3bf3dbd commit d4d109e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cmd/cue/cmd/testdata/script/fmt_multi.txtar

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
exec cue fmt .
22
cmp x.cue out/x.cue
3-
cmp x.cue out/star-cue
3+
cmp star.cue out/star-cue
44
cmp y.cue out/y-cue
55
cmp yb.cue out/yb-cue
66
-- x.cue --
@@ -45,11 +45,7 @@ package x
4545
a: 1
4646
bb: 2
4747
-- out/star-cue --
48-
// header
49-
50-
package x
51-
52-
// file comment
48+
package _
5349

5450
a: 1
5551
bb: 2

0 commit comments

Comments
 (0)