fspath: add unit tests for remote names with leading dash

This commit is contained in:
albertony 2022-09-16 16:27:01 +02:00 committed by Nick Craig-Wood
parent 4120dffcc1
commit f73be767a4

View File

@ -58,6 +58,7 @@ func TestCheckRemoteName(t *testing.T) {
{".:", nil},
{"..:", nil},
{".r.e.m.o.t.e.:", nil},
{"-r-emote-:", nil},
{"rem ote:", nil},
{"remote :", nil},
{" remote:", nil},