Skip to content

fix(iostreams): correct spelling of COLOR_ENABLED env var in color_test

Description

Fix a typo in pkg/iostreams/color_test.go in preRun(). It cleans up a non-existent COLOR_ENALBED environment variable, which has been corrected.

How has this been tested?

Unit test for iostreams package passes as expected:

root@0fbd2e27eacf:/code# bin/gotestsum --no-summary=skipped --junitfile ./coverage.xml --format short -- -coverprofile=./coverage.txt -covermode=atomic ./pkg/iostreams
✓  pkg/iostreams (5ms) (coverage: 26.5% of statements)

DONE 35 tests in 0.238s

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)

Merge request reports

Loading