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:
parent
d626bcac00
commit
46c146a8c1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user