Refactor unit tests to move test helpers (testApp, expectFileContent) from docs_test.go into the existing helpers_test.go. Those helpers are used by both docs_test.go and fish_test.go.
Why? I will soon propose to add build tags in docs.go to allow to skip the features it provides, and those dependencies get in the way.
What type of PR is this?
What this PR does / why we need it:
Refactor unit tests to move test helpers (
testApp
,expectFileContent
) fromdocs_test.go
into the existinghelpers_test.go
. Those helpers are used by bothdocs_test.go
andfish_test.go
.Why? I will soon propose to add build tags in docs.go to allow to skip the features it provides, and those dependencies get in the way.
Release Notes
NONE