packer: remove unused test variable
This commit is contained in:
parent
a709867dee
commit
703f071b4a
|
@ -42,7 +42,7 @@ func TestExpandUser_Empty(t *testing.T) {
|
|||
var path, expected string
|
||||
|
||||
// Try an invalid user
|
||||
path, err := ExpandUser("~invalid-user-that-should-not-exist")
|
||||
_, err := ExpandUser("~invalid-user-that-should-not-exist")
|
||||
if err == nil {
|
||||
t.Fatalf("expected failure")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue