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

Function TestFindInstance_EmptyList

cmd/helpers_test.go:49–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

47}
48
49func TestFindInstance_EmptyList(t *testing.T) {
50 result := findInstance([]api.Instance{}, "anything")
51 assert.Nil(t, result)
52}
53
54func TestFindInstance_ReturnsPointerToOriginal(t *testing.T) {
55 instances := sampleInstances()

Callers

nothing calls this directly

Calls 1

findInstanceFunction · 0.85

Tested by

no test coverage detected