Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin Rentea committed Jun 14, 2017
1 parent d19460c commit b56d7b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ func TestParsingOfEnvironmentVariables(t *testing.T) {

// given: some environment variables
os.Setenv("GUBLE_HTTP_LISTEN", "http_listen")
defer os.Unsetenv("GOBBLER_HTTP_LISTEN")
defer os.Unsetenv("GUBLE_HTTP_LISTEN")

os.Setenv("GUBLE_LOG", "debug")
defer os.Unsetenv("GUBLE_LOG")

os.Setenv("GUBLE_ENV", "dev")
defer os.Unsetenv("GOBBLER_ENV")
defer os.Unsetenv("GUBLE_ENV")

os.Setenv("GUBLE_PROFILE", "mem")
defer os.Unsetenv("GUBLE_PROFILE")
Expand Down Expand Up @@ -224,4 +224,4 @@ func assertClusterRemotes(a *assert.Assertions) {

func TestPrefixEnvar(t *testing.T) {
assert.Equal(t, "GUBLE_SOMEVAR", g("SOMEVAR"))
}
}

0 comments on commit b56d7b7

Please sign in to comment.