blob: 7a6c07f08224428fed1a833bdb229fe3c6206b8d [file]
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0
package sanitize
import (
"testing"
tfjson "github.com/hashicorp/terraform-json"
)
func TestCopyStructureCopy(t *testing.T) {
in := tfjson.UnknownConstantValue
out, err := copyStructureCopy(in)
if err != nil {
t.Fatal(err)
}
if in != out {
t.Fatal("did not shallow copy")
}
}