Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
f7bc9bd5
Commit
f7bc9bd5
authored
Jan 27, 2017
by
Robert
Committed by
GitHub
Jan 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4146 from zchee/go-test-fix_struct
go: fix unknown field 'UOffset' to 'Pos'
parents
3dee617c
25c88415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
go_test.go
tests/go_test.go
+3
-3
No files found.
tests/go_test.go
View file @
f7bc9bd5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment