mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-10 17:57:29 +00:00
Adds test for using dot to represent pwd
Signed-off-by: Simon Howe <footless@gmail.com>
This commit is contained in:
parent
f4418920fb
commit
aac07f03d8
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue