From f73be767a4128441bf667049ebb1dccffdc2e90f Mon Sep 17 00:00:00 2001 From: albertony <12441419+albertony@users.noreply.github.com> Date: Fri, 16 Sep 2022 16:27:01 +0200 Subject: [PATCH] fspath: add unit tests for remote names with leading dash --- fs/fspath/path_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/fspath/path_test.go b/fs/fspath/path_test.go index 402692136..c72423c0c 100644 --- a/fs/fspath/path_test.go +++ b/fs/fspath/path_test.go @@ -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},