(t *testing.T)
| 13 | ) |
| 14 | |
| 15 | func TestCleanPathsCleansPaths(t *testing.T) { |
| 16 | cleaned := CleanPaths("/foo/bar/,/foo/bar/baz", ",") |
| 17 | assert.Equal(t, []string{"/foo/bar", "/foo/bar/baz"}, cleaned) |
| 18 | } |
| 19 | |
| 20 | func TestCleanPathsReturnsNoResultsWhenGivenNoPaths(t *testing.T) { |
| 21 | cleaned := CleanPaths("", ",") |
nothing calls this directly
no test coverage detected