Missing comments from previous CL
Change-Id: Iede29d7dc77478acc43a1b41f1e3f430098d6377
diff --git a/src/syscall/zx/fidl/fidl_test/encoding_new_test.go b/src/syscall/zx/fidl/fidl_test/encoding_new_test.go
index 6847ff8..5be8afb 100644
--- a/src/syscall/zx/fidl/fidl_test/encoding_new_test.go
+++ b/src/syscall/zx/fidl/fidl_test/encoding_new_test.go
@@ -884,7 +884,7 @@
}
// Set the ordinal value to the value in XUnion1AsUnionStruct, since it is
// a different type.
- // This value comes from the generated JSON for test.test.fidl.
+ // This value comes from bindingstest/impl.go
const bodyStart = 16
respb[bodyStart+0] = 0x24
respb[bodyStart+1] = 0x94
@@ -924,7 +924,7 @@
t.Fatalf("error unmarshaling: %v\n", err)
}
// Set the ordinal values since they come from a different type.
- // These ordinals come from the generated json/go types.
+ // This value comes from bindingstest/impl.go
const outerUnionStart = 16
respb[outerUnionStart+0] = 0xd0
respb[outerUnionStart+1] = 0xe8
@@ -974,7 +974,7 @@
}
// Set the ordinal value to the value in XUnion1AsUnionStruct, since it is
// a different type.
- // This value comes from the generated JSON for test.test.fidl.
+ // This value comes from bindingstest/impl.go
xunionRespb[0] = 0x24
xunionRespb[1] = 0x94
xunionRespb[2] = 0x6a
@@ -1005,6 +1005,7 @@
}
// The ordinals of the union and equivalent xunion differ.
// Set the inner and outer ordinals on the xunion object.
+ // These values comes from bindingstest/impl.go
xunionRespb[0] = 0xd0
xunionRespb[1] = 0xe8
xunionRespb[2] = 0x4d