mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
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:
parent
5761f92e16
commit
3ffc4ac832
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue