summaryrefslogtreecommitdiff
path: root/context_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'context_test.go')
-rw-r--r--context_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/context_test.go b/context_test.go
index b4a60ff3..16492e9a 100644
--- a/context_test.go
+++ b/context_test.go
@@ -1,4 +1,4 @@
-package main
+package gomplate
import (
"os"
@@ -8,13 +8,13 @@ import (
)
func TestEnvMapifiesEnvironment(t *testing.T) {
- c := &Context{}
+ c := &context{}
env := c.Env()
assert.Equal(t, env["USER"], os.Getenv("USER"))
}
func TestEnvGetsUpdatedEnvironment(t *testing.T) {
- c := &Context{}
+ c := &context{}
assert.Empty(t, c.Env()["FOO"])
assert.NoError(t, os.Setenv("FOO", "foo"))
assert.Equal(t, c.Env()["FOO"], "foo")