Merge pull request #46 from joho/fix_quoting_parser_bug

WIP Parsing bug with nested quotes
pull/48/head
John Barton 2017-11-10 12:03:15 +11:00 committed by GitHub
commit 6d367c18ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -6,3 +6,4 @@ OPTION_E="1"
OPTION_F="2"
OPTION_G=""
OPTION_H="\n"
OPTION_I = "echo 'asd'"

View File

@ -187,6 +187,7 @@ func TestLoadQuotedEnv(t *testing.T) {
"OPTION_F": "2",
"OPTION_G": "",
"OPTION_H": "\n",
"OPTION_I": "echo 'asd'",
}
loadEnvAndCompareValues(t, Load, envFileName, expectedValues, noopPresets)