From 05be8ccbf7d00838dce28ccee1a950c038740e73 Mon Sep 17 00:00:00 2001 From: "John Barton (joho)" Date: Fri, 10 Nov 2017 10:38:18 +1100 Subject: [PATCH] Try and replicate reported bug #45 --- fixtures/quoted.env | 1 + godotenv_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/fixtures/quoted.env b/fixtures/quoted.env index a03ce24..cc6376a 100644 --- a/fixtures/quoted.env +++ b/fixtures/quoted.env @@ -6,3 +6,4 @@ OPTION_E="1" OPTION_F="2" OPTION_G="" OPTION_H="\n" +OPTION_I = "echo 'asd'" diff --git a/godotenv_test.go b/godotenv_test.go index 91f4363..fc4f7f0 100644 --- a/godotenv_test.go +++ b/godotenv_test.go @@ -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)