(t *testing.T)
| 2632 | } |
| 2633 | |
| 2634 | func TestDirExists(t *testing.T) { |
| 2635 | t.Parallel() |
| 2636 | |
| 2637 | mockT := new(testing.T) |
| 2638 | False(t, DirExists(mockT, "assertions.go")) |
| 2639 | |
| 2640 | mockT = new(testing.T) |
| 2641 | False(t, DirExists(mockT, "non_existent_dir")) |
| 2642 | |
| 2643 | mockT = new(testing.T) |
| 2644 | True(t, DirExists(mockT, "../_codegen")) |
| 2645 | |
| 2646 | link := getTempSymlinkPath(t, "assertions.go") |
| 2647 | mockT = new(testing.T) |
| 2648 | False(t, DirExists(mockT, link)) |
| 2649 | |
| 2650 | link = getTempSymlinkPath(t, "non_existent_dir") |
| 2651 | mockT = new(testing.T) |
| 2652 | False(t, DirExists(mockT, link)) |
| 2653 | } |
| 2654 | |
| 2655 | func TestNoDirExists(t *testing.T) { |
| 2656 | t.Parallel() |
nothing calls this directly
no test coverage detected