diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-11-01 09:16:45 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-11-01 10:03:49 +1100 |
commit | 7a464ae5b7782b383050de6dc3ae5bd51a88bad0 (patch) | |
tree | 1af89e884fdd44c34889a6d1f017d7838a293a28 /pkg/gui/filetree | |
parent | 927ee631061fbc3c86c4d73ac5056d8b4bd84c81 (diff) |
add graph algorithm
Diffstat (limited to 'pkg/gui/filetree')
-rw-r--r-- | pkg/gui/filetree/file_manager_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/gui/filetree/file_manager_test.go b/pkg/gui/filetree/file_manager_test.go index 36343bc13..83ba5b086 100644 --- a/pkg/gui/filetree/file_manager_test.go +++ b/pkg/gui/filetree/file_manager_test.go @@ -9,9 +9,11 @@ import ( "github.com/xo/terminfo" ) -func TestRender(t *testing.T) { +func init() { color.ForceSetColorLevel(terminfo.ColorLevelNone) +} +func TestRender(t *testing.T) { scenarios := []struct { name string root *FileNode |