Merge branch 'iostreams-test-fix-env-var-spelling' into 'main'

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

See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1083

Merged-by: Gary Holtz <gholtz@gitlab.com>
Approved-by: Terri Chu <tchu@gitlab.com>
Co-authored-by: Foster Snowhill <2486761-ForstPenguin@users.noreply.gitlab.com>
This commit is contained in:
Gary Holtz 2022-11-17 21:01:31 +00:00
commit 19893312b9
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
func Test_isColorEnabled(t *testing.T) {
preRun := func() {
os.Unsetenv("NO_COLOR")
os.Unsetenv("COLOR_ENALBED")
os.Unsetenv("COLOR_ENABLED")
checkedNoColor = false // Reset it before each run
}