mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-07 16:27:27 +00:00
Adds test for parent directory
Signed-off-by: Simon Howe <footless@gmail.com>
This commit is contained in:
parent
aac07f03d8
commit
23c4c2f1aa
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ func TestRelativePath_Set(t *testing.T) {
|
|||
{"dot path", ".foo", "./.foo", false},
|
||||
{"relative dot path", "./.foo", "./.foo", false},
|
||||
{"current directory", ".", "./", false},
|
||||
{"parent directory", "..", "./", false},
|
||||
{"parent directory more qualified", "./..", "./", false},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue