(t *testing.T)
| 120 | } |
| 121 | |
| 122 | func TestSanitizeVersion(t *testing.T) { |
| 123 | got := sanitizeVersion("v1.2.3+build/abc") |
| 124 | want := "v1.2.3_build_abc" |
| 125 | if got != want { |
| 126 | t.Fatalf("sanitizeVersion() = %q want %q", got, want) |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | func TestVersionedBinaryPath(t *testing.T) { |
| 131 | got := versionedBinaryPath("/tmp", "copilot.exe", "1.0.0") |
nothing calls this directly
no test coverage detected
searching dependent graphs…