(t *testing.T)
| 114 | } |
| 115 | |
| 116 | func Test_GistClone_flagError(t *testing.T) { |
| 117 | _, err := runCloneCommand(nil, "--depth 1 GIST") |
| 118 | if err == nil || err.Error() != "unknown flag: --depth\nSeparate git clone flags with '--'." { |
| 119 | t.Errorf("unexpected error %v", err) |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | func Test_formatRemoteURL(t *testing.T) { |
| 124 | type args struct { |
nothing calls this directly
no test coverage detected