Commit c6392481 authored by Ross Smith II's avatar Ross Smith II Committed by Mitchell Hashimoto

fixed artifact test

parent 2cad46aa
......@@ -14,8 +14,8 @@ func TestArtifact_Impl(t *testing.T) {
}
func TestArtifactString(t *testing.T) {
a := &Artifact{"packer-foobar", 42, nil}
expected := "A snapshot was created: packer-foobar"
a := &Artifact{"packer-foobar", 42, "San Francisco", 3, nil}
expected := "A snapshot was created: 'packer-foobar' in region 'San Francisco'"
if a.String() != expected {
t.Fatalf("artifact string should match: %v", expected)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment