mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 08:21:07 -06:00
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"}
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user