mirror of
https://github.com/docker/cli.git
synced 2026-09-24 15:30:10 -05:00
Fix inefficient file paths filter
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Upstream-commit: adeb3e36840c6d9d1912dd78f5300ae74d11c068 Component: engine
This commit is contained in:
@@ -2403,7 +2403,7 @@ func (s *DockerSuite) TestBuildDockerignoringBadExclusion(c *check.C) {
|
||||
withFile(".dockerignore", "!\n"),
|
||||
)).Assert(c, icmd.Expected{
|
||||
ExitCode: 1,
|
||||
Err: "Error checking context: 'Illegal exclusion pattern: !",
|
||||
Err: "Error checking context: 'illegal exclusion pattern: \"!\"",
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user