MCPcopy
hub / github.com/wagoodman/dive / TestFileTreeNoAttributes

Function TestFileTreeNoAttributes

runtime/ui/viewmodel/filetree_test.go:131–139  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

129}
130
131func TestFileTreeNoAttributes(t *testing.T) {
132 vm := initializeTestViewModel(t)
133
134 width, height := 100, 1000
135 vm.Setup(0, height)
136 vm.ShowAttributes = false
137
138 runTestCase(t, vm, width, height, nil)
139}
140
141func TestFileTreeRestrictedHeight(t *testing.T) {
142 vm := initializeTestViewModel(t)

Callers

nothing calls this directly

Calls 3

initializeTestViewModelFunction · 0.85
runTestCaseFunction · 0.85
SetupMethod · 0.65

Tested by

no test coverage detected