(t *testing.T)
| 303 | } |
| 304 | |
| 305 | func TestFileTreeFilterTree(t *testing.T) { |
| 306 | vm := initializeTestViewModel(t) |
| 307 | |
| 308 | width, height := 100, 1000 |
| 309 | vm.Setup(0, height) |
| 310 | vm.ShowAttributes = true |
| 311 | |
| 312 | regex, err := regexp.Compile("network") |
| 313 | if err != nil { |
| 314 | t.Errorf("could not create filter regex: %+v", err) |
| 315 | } |
| 316 | |
| 317 | runTestCase(t, vm, width, height, regex) |
| 318 | } |
| 319 | |
| 320 | func TestFileTreeHideAddedRemovedModified(t *testing.T) { |
| 321 | vm := initializeTestViewModel(t) |
nothing calls this directly
no test coverage detected