1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-21 21:47:32 +02:00

fixed test failing due to ForceSetColorLevel in pkg/gui/style/style_test.go

This commit is contained in:
Matthew Garelli 2021-08-06 02:37:26 -06:00
parent d626bcac00
commit 46c146a8c1

View File

@ -3,11 +3,15 @@ package filetree
import (
"testing"
"github.com/gookit/color"
"github.com/jesseduffield/lazygit/pkg/commands/models"
"github.com/stretchr/testify/assert"
"github.com/xo/terminfo"
)
func TestRender(t *testing.T) {
color.ForceSetColorLevel(terminfo.ColorLevelNone)
scenarios := []struct {
name string
root *FileNode