Typo fix wiildcard -> wildcard

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
Upstream-commit: 86d48aa111384539b0d2bd50353c4d4c40a5750a
Component: engine
This commit is contained in:
Alex Ellis
2016-05-22 18:39:35 +01:00
parent c9241942c4
commit dd19106ac3

View File

@ -69,13 +69,13 @@ func initDispatchTestCases() []dispatchTestCase {
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",
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"},
},
{
name: "Wiildcard JSON ADD multiple files to file",
name: "Wildcard JSON ADD multiple files to file",
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 /",
files: map[string]string{"file1.txt": "test1", "file2.txt": "test2"},