mirror of
https://github.com/docker/cli.git
synced 2026-08-29 10:06:35 -05:00
f4ad386d76aa36616032425ed7cc3047cf7961b7
`TestParseWords` needs to use the `tokenEscape` for one of the test cases, but `tokenEscape` was not being set unless tests ran in a specific order. This sets a default value for `tokenEscape`... `\`... so that tests that rely on this global are not affected by test ordering. This is the simplest fix for these cases. Ideally the token should not be set as a global but rather passed down, which is a much larger change. Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: df167d3ff04cdc90012c8ca39647662ad69e6715 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%