Skip to content

Commit c2f57e3

Browse files
committed
internal/core: remove a few unnecessary trailing Fprintln calls in tests
This has been unnecessary since https://cuelang.org/cl/1210652. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I8e4f235a079a226d3687180459d6900d731a0b29 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1218031 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Matthew Sackman <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
1 parent 955e7f4 commit c2f57e3

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

internal/core/adt/eval_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,6 @@ func runEvalTest(t *cuetxtar.Test, version internal.EvaluatorVersion, flags cued
190190
}
191191

192192
t.Write(debug.AppendNode(nil, r, v, &debug.Config{Cwd: t.Dir}))
193-
fmt.Fprintln(t)
194-
195193
return
196194
}
197195

internal/core/compile/compile_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ func TestCompile(t *testing.T) {
6666
Cwd: t.Dir,
6767
}))
6868
}
69-
fmt.Fprintln(t)
7069
})
7170
}
7271

internal/core/toposort/sort_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ func TestTopologicalSort(t *testing.T) {
7171
t.Fatal(err)
7272
}
7373
_, _ = t.Write(b)
74-
fmt.Fprintln(t)
7574
}
7675
})
7776
})

0 commit comments

Comments
 (0)