mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-21 04:46:29 +03: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:
1 parent
5761f92e16
commit
3ffc4ac832
1 file changed
-3
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user