Adds test for using dot to represent pwd

Signed-off-by: Simon Howe <footless@gmail.com>
pull/2426/head
Simon Howe 3 years ago
parent f4418920fb
commit aac07f03d8

@ -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) {

Loading…
Cancel
Save