MCPcopy
hub / github.com/stretchr/testify / TestNoDirExists

Function TestNoDirExists

assert/assertions_test.go:2655–2674  ·  assert/assertions_test.go::TestNoDirExists
(t *testing.T)

Source from the content-addressed store, hash-verified

2653}
2654
2655func TestNoDirExists(t *testing.T) {
2656 t.Parallel()
2657
2658 mockT := new(testing.T)
2659 True(t, NoDirExists(mockT, "assertions.go"))
2660
2661 mockT = new(testing.T)
2662 True(t, NoDirExists(mockT, "non_existent_dir"))
2663
2664 mockT = new(testing.T)
2665 False(t, NoDirExists(mockT, "../_codegen"))
2666
2667 link := getTempSymlinkPath(t, "assertions.go")
2668 mockT = new(testing.T)
2669 True(t, NoDirExists(mockT, link))
2670
2671 link = getTempSymlinkPath(t, "non_existent_dir")
2672 mockT = new(testing.T)
2673 True(t, NoDirExists(mockT, link))
2674}
2675
2676func TestJSONEq_EqualSONString(t *testing.T) {
2677 t.Parallel()

Callers

nothing calls this directly

Calls 4

getTempSymlinkPathFunction · 0.85
TrueFunction · 0.70
NoDirExistsFunction · 0.70
FalseFunction · 0.70

Tested by

no test coverage detected