From bb8fa34cee0c5d6522a2f95fa801d8c2d85e604b Mon Sep 17 00:00:00 2001 From: "D. Bohdan" Date: Sat, 22 Nov 2025 14:21:27 +0000 Subject: [PATCH] Rename `Example_ANSIcolor` to fix `go test` --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index 690b2e7..0f08cce 100644 --- a/example_test.go +++ b/example_test.go @@ -73,7 +73,7 @@ func Example_trailingTab() { // ---aaaa|---bbbb|---aligned| } -func Example_ANSIcolor() { +func Example() { // Observe the text with ANSI color w := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', tabwriter.Debug) fmt.Fprintln(w, "a\t\x1b[32mb\x1b[0m\tc") // hex