mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-21 11:57:57 +02:00
Add support for dest = '.' and additional DestinationFilepath test
This commit is contained in:
@@ -109,6 +109,13 @@ var destinationFilepathTests = []struct {
|
||||
dest: "/dir",
|
||||
expectedFilepath: "/dir/context/bar",
|
||||
},
|
||||
{
|
||||
srcName: "context/foo",
|
||||
filename: "context/foo",
|
||||
cwd: "/test",
|
||||
dest: ".",
|
||||
expectedFilepath: "/test/foo",
|
||||
},
|
||||
}
|
||||
|
||||
func Test_DestinationFilepath(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user