mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
05c2d2db9a
This also adds more tests to help verify this, including unicode and nonprintable characters (hence the earlier commit switching to strconv.Quote). As a bonus, this fixes a subtle bug where [] was turned into [""] and then turned back into [] (and thus [""] was impossible to actually round-trip correctly in a Dockerfile). Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
8 lines
139 B
Text
8 lines
139 B
Text
(cmd)
|
|
(cmd "")
|
|
(cmd "a")
|
|
(cmd "a" "b")
|
|
(cmd "a" "b")
|
|
(cmd "a" "b")
|
|
(cmd "a" "b")
|
|
(cmd "abc 123" "♥" "☃" "\" \\ / \b \f \n \r \t \x00")
|