core: Update TestNodeApplyableModuleVariablePath for new address type
This commit is contained in:
parent
feff252700
commit
e1e4762b03
|
@ -20,10 +20,10 @@ func TestNodeApplyableModuleVariablePath(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
expected := []string{"root"}
|
want := addrs.RootModuleInstance
|
||||||
actual := n.Path()
|
got := n.Path()
|
||||||
if !reflect.DeepEqual(actual, expected) {
|
if got.String() != want.String() {
|
||||||
t.Fatalf("%#v != %#v", actual, expected)
|
t.Fatalf("wrong module address %s; want %s", got, want)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue