1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/builder/parser
Doug Davis 3859c48531 Remove leading/trailing spaces in builder/parser
Per Erikh's suggestion at:
https://github.com/docker/docker/pull/9989#issuecomment-69832009
this PR will trim spaces in the parser to ensure that the user gets the same
results irrespetive of leading/trailing spaces.

Per @tiborvass's suggestion I added a test to make sure spaces in quotes
are not touched.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-02-06 08:52:18 -08:00
..
dumper builder/parser/dumper: Handle newlines appropriately. 2014-09-11 06:00:24 -07:00
testfiles Merge pull request #9826 from icecrime/8318_whitespace_add_copy 2015-01-19 18:37:53 -05:00
testfiles-negative Fix a parser error where an empty RUN statement would cause a panic 2015-01-08 11:30:08 -08:00
json_test.go Adjust builder to validate that JSON in Dockerfiles are arrays of strings and nothing else to match how we describe them to people (and what all our existing tests already assumed) 2015-01-05 14:31:05 -07:00
line_parsers.go Adjust builder to validate that JSON in Dockerfiles are arrays of strings and nothing else to match how we describe them to people (and what all our existing tests already assumed) 2015-01-05 14:31:05 -07:00
parser.go Merge pull request #9826 from icecrime/8318_whitespace_add_copy 2015-01-19 18:37:53 -05:00
parser_test.go Simplify builder TestTestData slightly by using ioutil.ReadFile instead of os.Open+ioutil.ReadAll 2015-01-02 22:38:52 -07:00
utils.go Remove leading/trailing spaces in builder/parser 2015-02-06 08:52:18 -08:00