blob: 63bff6c58a9b3890b01b2ac0b7721161959523ca [file] [log] [blame]
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")
}
}