MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / TestDetectPackageManager_EdgeCases

Function TestDetectPackageManager_EdgeCases

cmd/root_test.go:312–315  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

310}
311
312func TestDetectPackageManager_EdgeCases(t *testing.T) {
313 assert.Equal(t, "", detectPackageManager("/usr/local/bin/tnr"))
314 assert.Equal(t, "homebrew", detectPackageManager("/opt/homebrew/Cellar/tnr/1.0/bin/tnr"))
315}

Callers

nothing calls this directly

Calls 1

detectPackageManagerFunction · 0.85

Tested by

no test coverage detected