core: Update TestNodeApplyableModuleVariablePath for new address type

This commit is contained in:
Martin Atkins 2018-05-10 16:20:34 -07:00
parent feff252700
commit e1e4762b03

View File

@ -20,10 +20,10 @@ func TestNodeApplyableModuleVariablePath(t *testing.T) {
},
}
expected := []string{"root"}
actual := n.Path()
if !reflect.DeepEqual(actual, expected) {
t.Fatalf("%#v != %#v", actual, expected)
want := addrs.RootModuleInstance
got := n.Path()
if got.String() != want.String() {
t.Fatalf("wrong module address %s; want %s", got, want)
}
}