(t *testing.T)
| 75 | } |
| 76 | |
| 77 | func TestGetRepositorySlugFromRemote(t *testing.T) { |
| 78 | // This test verifies that the function can execute without errors in a git repo |
| 79 | // The actual value will depend on the repository being tested |
| 80 | result := getRepositorySlugFromRemote() |
| 81 | |
| 82 | // In the gh-aw repository, we should get a non-empty slug |
| 83 | // But we can't assert the exact value since it might change |
| 84 | if result != "" { |
| 85 | t.Logf("Repository slug: %s", result) |
| 86 | } else { |
| 87 | t.Log("Repository slug is empty (may be expected if not in a git repo)") |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | func TestFindGitRootForPath(t *testing.T) { |
| 92 | // Test with current file path |
nothing calls this directly
no test coverage detected