MCPcopy Create free account
hub / github.com/Driver-C/tryssh / TestCheckFileIsExist_NonExistingFile

Function TestCheckFileIsExist_NonExistingFile

pkg/utils/file_test.go:88–90  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

86}
87
88func TestCheckFileIsExist_NonExistingFile(t *testing.T) {
89 assert.False(t, CheckFileIsExist("/nonexistent/file/that/does/not/exist.txt"))
90}
91
92func TestCreateFile_Success(t *testing.T) {
93 tmpDir := t.TempDir()

Callers

nothing calls this directly

Calls 1

CheckFileIsExistFunction · 0.85

Tested by

no test coverage detected