Skip to content

Commit bad6c7e

Browse files
committed
Set LANGUAGE env variable in TestDiffProgram for consistent locale behavior
Signed-off-by: Arthur Diniz <[email protected]>
1 parent 71eb042 commit bad6c7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

staging/src/k8s.io/kubectl/pkg/cmd/diff/diff_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ func TestDiffProgram(t *testing.T) {
6464
externalDiffCommands := [3]string{"diff", "diff -ruN", "diff --report-identical-files"}
6565

6666
t.Setenv("LANG", "C")
67+
t.Setenv("LANGUAGE", "en_US")
6768

6869
for i, c := range externalDiffCommands {
6970
t.Setenv("KUBECTL_EXTERNAL_DIFF", c)

0 commit comments

Comments
 (0)