mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Typo fix wiildcard -> wildcard
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
parent
07dc6bfb46
commit
86d48aa111
1 changed files with 2 additions and 2 deletions
|
@ -69,13 +69,13 @@ func initDispatchTestCases() []dispatchTestCase {
|
||||||
files: map[string]string{"file1.txt": "test1", "file2.txt": "test2"},
|
files: map[string]string{"file1.txt": "test1", "file2.txt": "test2"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Wiildcard ADD multiple files to file",
|
name: "Wildcard ADD multiple files to file",
|
||||||
dockerfile: "ADD file*.txt test",
|
dockerfile: "ADD file*.txt test",
|
||||||
expectedError: "When using ADD with more than one source file, the destination must be a directory and end with a /",
|
expectedError: "When using ADD with more than one source file, the destination must be a directory and end with a /",
|
||||||
files: map[string]string{"file1.txt": "test1", "file2.txt": "test2"},
|
files: map[string]string{"file1.txt": "test1", "file2.txt": "test2"},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Wiildcard JSON ADD multiple files to file",
|
name: "Wildcard JSON ADD multiple files to file",
|
||||||
dockerfile: `ADD ["file*.txt", "test"]`,
|
dockerfile: `ADD ["file*.txt", "test"]`,
|
||||||
expectedError: "When using ADD with more than one source file, the destination must be a directory and end with a /",
|
expectedError: "When using ADD with more than one source file, the destination must be a directory and end with a /",
|
||||||
files: map[string]string{"file1.txt": "test1", "file2.txt": "test2"},
|
files: map[string]string{"file1.txt": "test1", "file2.txt": "test2"},
|
||||||
|
|
Loading…
Reference in a new issue