forked from coop-cloud-mirrors/godotenv
Merge pull request #46 from joho/fix_quoting_parser_bug
WIP Parsing bug with nested quotes
This commit is contained in:
commit
6d367c18ed
@ -6,3 +6,4 @@ OPTION_E="1"
|
|||||||
OPTION_F="2"
|
OPTION_F="2"
|
||||||
OPTION_G=""
|
OPTION_G=""
|
||||||
OPTION_H="\n"
|
OPTION_H="\n"
|
||||||
|
OPTION_I = "echo 'asd'"
|
||||||
|
@ -187,6 +187,7 @@ func TestLoadQuotedEnv(t *testing.T) {
|
|||||||
"OPTION_F": "2",
|
"OPTION_F": "2",
|
||||||
"OPTION_G": "",
|
"OPTION_G": "",
|
||||||
"OPTION_H": "\n",
|
"OPTION_H": "\n",
|
||||||
|
"OPTION_I": "echo 'asd'",
|
||||||
}
|
}
|
||||||
|
|
||||||
loadEnvAndCompareValues(t, Load, envFileName, expectedValues, noopPresets)
|
loadEnvAndCompareValues(t, Load, envFileName, expectedValues, noopPresets)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user