aboutsummaryrefslogtreecommitdiffstats
path: root/sdk/sdk_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/sdk_test.go')
-rw-r--r--sdk/sdk_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/sdk/sdk_test.go b/sdk/sdk_test.go
index fde92307..2f125e2d 100644
--- a/sdk/sdk_test.go
+++ b/sdk/sdk_test.go
@@ -242,9 +242,13 @@ type testPropertiesStruct struct {
EmbeddedPropertiesStruct
}
+func (p *testPropertiesStruct) optimizableProperties() interface{} {
+ return p
+}
+
func TestCommonValueOptimization(t *testing.T) {
common := &testPropertiesStruct{}
- structs := []*testPropertiesStruct{
+ structs := []propertiesContainer{
&testPropertiesStruct{
private: "common",
Public_Kept: "common",