Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/printer: disable color output in tests #562

Merged
merged 1 commit into from
May 31, 2021

Commits on May 31, 2021

  1. pkg/printer: disable color output in tests

    Depending on how `go test` is invoked, the auto-detection in the
    `github.com/fatih/color` library will enable/disable color support. For
    example when invoked as `go test .` in the `pkg/printer` directory,
    color output will be enabled while for running `go test ./...` in the
    root directory color support is disabled.
    
    Avoid this flaky behavior by disabling color output in all printer
    tests.
    
    Signed-off-by: Tobias Klauser <tobias@cilium.io>
    tklauser committed May 31, 2021
    Configuration menu
    Copy the full SHA
    720cb72 View commit details
    Browse the repository at this point in the history