1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Adds test for using dot to represent pwd

Signed-off-by: Simon Howe <footless@gmail.com>
This commit is contained in:
Simon Howe
2022-02-14 10:44:56 +01:00
parent f4418920fb
commit aac07f03d8

View File

@@ -41,6 +41,7 @@ func TestRelativePath_Set(t *testing.T) {
{"double relative empty path", "././", "./", false},
{"dot path", ".foo", "./.foo", false},
{"relative dot path", "./.foo", "./.foo", false},
{"current directory", ".", "./", false},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {