docs/builder/dockerfile/parser
Brian Goff d79bd3010a Fix issue with test ordering for TestParseWords
`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>
(cherry picked from commit df167d3ff04cdc90012c8ca39647662ad69e6715)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-27 14:51:42 -07:00
..
dumper Fix dumper program to use proper import 2015-10-26 13:10:01 -07:00
testfile-line Support platform file paths through escape 2016-05-20 20:29:59 -07:00
testfiles Healthcheck: set default retries to 3 2016-06-03 13:28:08 +02:00
testfiles-negative Move builder files to builder/dockerfile 2015-10-05 18:26:47 -04:00
json_test.go Move builder files to builder/dockerfile 2015-10-05 18:26:47 -04:00
line_parsers.go Support unicode characters in parseWords 2016-06-08 14:05:08 +02:00
parser.go Fix issue with test ordering for TestParseWords 2016-07-27 14:51:42 -07:00
parser_test.go Fix issue with test ordering for TestParseWords 2016-07-27 14:51:42 -07:00
utils.go Fix some typos in comments and strings 2016-02-22 20:27:15 +01:00