From 25c884158f76a46550c31e6c52e963d813545475 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Sun, 22 Jan 2017 20:16:52 +0900 Subject: [PATCH] go: fix unknown field 'UOffset' to 'Pos' Signed-off-by: Koichi Shiraishi --- tests/go_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/go_test.go b/tests/go_test.go index 421aa4b91..2aa375a32 100644 --- a/tests/go_test.go +++ b/tests/go_test.go @@ -1251,9 +1251,9 @@ func CheckVtableDeduplication(fail func(string, ...interface{})) { len(want), want, len(got), got) } - table0 := &flatbuffers.Table{Bytes: b.Bytes, UOffset: flatbuffers.UOffsetT(len(b.Bytes)) - obj0} - table1 := &flatbuffers.Table{Bytes: b.Bytes, UOffset: flatbuffers.UOffsetT(len(b.Bytes)) - obj1} - table2 := &flatbuffers.Table{Bytes: b.Bytes, UOffset: flatbuffers.UOffsetT(len(b.Bytes)) - obj2} + table0 := &flatbuffers.Table{Bytes: b.Bytes, Pos: flatbuffers.UOffsetT(len(b.Bytes)) - obj0} + table1 := &flatbuffers.Table{Bytes: b.Bytes, Pos: flatbuffers.UOffsetT(len(b.Bytes)) - obj1} + table2 := &flatbuffers.Table{Bytes: b.Bytes, Pos: flatbuffers.UOffsetT(len(b.Bytes)) - obj2} testTable := func(tab *flatbuffers.Table, a flatbuffers.VOffsetT, b, c, d byte) { // vtable size