fix tests

This commit is contained in:
Matthew Hooker 2017-06-08 19:12:04 -07:00
parent d5c228ee98
commit 056104ace4
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 3 additions and 3 deletions

View File

@ -232,9 +232,9 @@ func TestPush_vars(t *testing.T) {
t.Fatalf("bad vars: got %#v\n expected %#v\n", actualOpts.Vars, expected) t.Fatalf("bad vars: got %#v\n expected %#v\n", actualOpts.Vars, expected)
} }
expected_priv := []string{"super", "secret"} expected_sensitive := []string{"super", "secret"}
if !reflect.DeepEqual(actualOpts.PrivVars, expected_priv) { if !reflect.DeepEqual(actualOpts.SensitiveVars, expected_sensitive) {
t.Fatalf("bad vars: got %#v\n expected %#v\n", actualOpts.PrivVars, expected_priv) t.Fatalf("bad vars: got %#v\n expected %#v\n", actualOpts.SensitiveVars, expected_sensitive)
} }
} }