-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: load env vars having $ in value correctly (#455)
- Loading branch information
1 parent
bcd07ed
commit cdfd99c
Showing
4 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,8 @@ import ( | |
|
||
var ( | ||
emptyConfigPath = "" | ||
username = "admin" | ||
password = "1234" | ||
username = "[email protected]" | ||
password = "TempPa$sword" | ||
) | ||
|
||
func TestReaderRead(t *testing.T) { | ||
|
@@ -307,6 +307,8 @@ func TestReaderRead(t *testing.T) { | |
} | ||
|
||
func compareRecipes(t *testing.T, expected, actual recipe.Recipe) { | ||
t.Helper() | ||
|
||
assert.Equal(t, expected.Name, actual.Name) | ||
assert.Equal(t, len(expected.Sinks), len(actual.Sinks)) | ||
assert.Equal(t, len(expected.Processors), len(actual.Processors)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SOURCE: | ||
USERNAME: admin | ||
PASSWORD: "1234" | ||
USERNAME: [email protected] | ||
PASSWORD: "TempPa$sword" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SOURCE: | ||
USERNAME: admin | ||
PASSWORD: "1234" | ||
USERNAME: [email protected] | ||
PASSWORD: "TempPa$sword" |