Remove now unnecessary Setenv call

The call was meant to guarantee a UTC time zone to make the tests deterministic,
but as the previous commit explained, this only worked on Mac and Linux, not on
Windows. Since we now have a better fix, this workaround is no longer needed.
This commit is contained in:
stk 2026-05-02 17:37:14 +02:00 committed by Stefan Haller
parent 5761f92e16
commit 3ffc4ac832

View file

@ -1,7 +1,6 @@
package presentation
import (
"os"
"strings"
"testing"
"time"
@ -531,8 +530,6 @@ func TestGetCommitListDisplayStrings(t *testing.T) {
oldColorLevel := color.ForceSetColorLevel(terminfo.ColorLevelNone)
defer color.ForceSetColorLevel(oldColorLevel)
os.Setenv("TZ", "UTC")
focusing := false
for _, scenario := range scenarios {
if scenario.focus {