Skip to content
Snippets Groups Projects
Commit aac07f03 authored by Simon Howe's avatar Simon Howe
Browse files

Adds test for using dot to represent pwd


Signed-off-by: default avatarSimon Howe <footless@gmail.com>
parent f4418920
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment