summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2017-10-29 13:32:05 -0400
committerGitHub <noreply@github.com>2017-10-29 13:32:05 -0400
commit4e626fdfc870c212c73e5b9494f63888e570f8ac (patch)
tree7093b00cd8667dc7a228db9bd402d231bf7b122b /test
parent858b6b1cc413239e7e8610a128b131c411473d27 (diff)
parent8179d3f3302306b2952a0854e3227f44bd4754b7 (diff)
Merge pull request #219 from hairyhenderson/dont-panic-on-errors
Don't panic on template errors
Diffstat (limited to 'test')
-rw-r--r--test/integration/envvars.bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/envvars.bats b/test/integration/envvars.bats
index 316f2572..aef1d3a8 100644
--- a/test/integration/envvars.bats
+++ b/test/integration/envvars.bats
@@ -11,7 +11,7 @@ load helper
@test "errors with non-existant env var using .Env" {
gomplate -i '{{.Env.FOO}}'
- [ "$status" -eq 2 ]
+ [ "$status" -eq 1 ]
[[ "${lines[0]}" == *"map has no entry for key"* ]]
}