godog: Color output broken on Windows cmd/ps with go v1.10.2

I’ve just upgraded go from 1.7.6 to 1.10.2 on Windows 7 machine and Godog’s color output stopped to work:

    Running Integration test in: C:/Users/CDKQE/go/src/github.com/minishift/minishift/out/inte
    gration-test
    Using binary: C:/Users/CDKQE/minishift/minishift.exe
    ←[1;37mFeature: ←[0meap-cd add-on
      Eap-cd add-on imports eap-cd imagestreams and templates, which are then available in Ope
    nShift to the user.
     
    ←[1;37mFeature: ←[0mregistry-route add-on
      registry-route addon exposes the route for the OpenShift integrated registry,
      so that user can able to push their container images directly to registry and deploy it.
     
     
    ←[1;37mFeature: ←[0mxpaas add-on
      Xpaas add-on imports xPaaS templates and imagestreams,
      which are then available in OpenShift to the user.
     
    ←[1;37mFeature: ←[0mBasic
      As a user I can perform basic operations of Minishift and OpenShift

With v1.7.6 everything was ok. Only solution now is to disable colors: --no-color.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

hm, that is an interesting issue, thanks for reporting. will have a look at the colorization libraries to see whether there are any differences