(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestGitNode_sshWithAltRepo(t *testing.T) { |
| 25 | t.Parallel() |
| 26 | |
| 27 | node, err := NewGitNode("git@github.com:foo/bar.git//Taskfile.yml?ref=main", "", false) |
| 28 | assert.NoError(t, err) |
| 29 | |
| 30 | entrypoint, err := node.ResolveEntrypoint("git@github.com:foo/other.git//Taskfile.yml?ref=dev") |
| 31 | assert.NoError(t, err) |
| 32 | assert.Equal(t, "git@github.com:foo/other.git//Taskfile.yml?ref=dev", entrypoint) |
| 33 | } |
| 34 | |
| 35 | func TestGitNode_sshWithDir(t *testing.T) { |
| 36 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…