mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-31 02:25:35 +03:00 
			
		
		
		
	fixed test failing due to ForceSetColorLevel in pkg/gui/style/style_test.go
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user