(t *testing.T)
| 364 | } |
| 365 | |
| 366 | func TestPathExists(t *testing.T) { |
| 367 | path, err := os.Executable() |
| 368 | assert.NoError(t, err) |
| 369 | exists := PathExists(path) |
| 370 | assert.True(t, exists) |
| 371 | |
| 372 | path = "/does/not/exist" |
| 373 | exists = PathExists(path) |
| 374 | assert.False(t, exists) |
| 375 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…