Skip to content

Rename Example_ANSIcolor to fix go test#1

Open
dbohdan wants to merge 1 commit intoLadicle:masterfrom
dbohdan:fix-go-test
Open

Rename Example_ANSIcolor to fix go test#1
dbohdan wants to merge 1 commit intoLadicle:masterfrom
dbohdan:fix-go-test

Conversation

@dbohdan
Copy link
Copy Markdown

@dbohdan dbohdan commented Nov 22, 2025

go test passes in Go 1.17 but fails in Go 1.25 with this output:

# github.com/Ladicle/tabwriter_test
# [github.com/Ladicle/tabwriter_test]
./example_test.go:76:1: Example_ANSIcolor has malformed example suffix: ANSIcolor
FAIL    github.com/Ladicle/tabwriter [build failed]
FAIL

Renaming Example_ANSIcolor fixes the error. The test doesn't run in either Go version before or after the fix. It seems like it never ran.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant