(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestGetRepositorySlugFromRemoteForPath(t *testing.T) { |
| 108 | // Test with current file path |
| 109 | slug := getRepositorySlugFromRemoteForPath("git_helpers_test.go") |
| 110 | |
| 111 | // Log the result - we can't assert exact value |
| 112 | if slug != "" { |
| 113 | t.Logf("Repository slug for path: %s", slug) |
| 114 | } else { |
| 115 | t.Log("Repository slug for path is empty (may be expected if not in a git repo)") |
| 116 | } |
| 117 | } |
nothing calls this directly
no test coverage detected