(t *testing.T)
| 107 | } |
| 108 | |
| 109 | func TestPrependAgentRef(t *testing.T) { |
| 110 | t.Parallel() |
| 111 | |
| 112 | assert.Equal(t, []string{"coder"}, prependAgentRef("coder", nil)) |
| 113 | assert.Equal(t, []string{"coder", "hello"}, prependAgentRef("coder", []string{"hello"})) |
| 114 | assert.Equal(t, []string{"coder", "a", "b"}, prependAgentRef("coder", []string{"a", "b"})) |
| 115 | } |
| 116 | |
| 117 | func TestIsLocalConfigRef(t *testing.T) { |
| 118 | t.Parallel() |
nothing calls this directly
no test coverage detected