mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 20:40:01 +00:00
Remove duplicate Go test
This commit is contained in:
@@ -203,10 +203,6 @@ func CheckReadBuffer(buf []byte, offset flatbuffers.UOffsetT, fail func(string,
|
|||||||
fail(FailString("monster.TestType()", example.AnyMonster, got))
|
fail(FailString("monster.TestType()", example.AnyMonster, got))
|
||||||
}
|
}
|
||||||
|
|
||||||
if unionType := monster.TestType(); unionType != example.AnyMonster {
|
|
||||||
fail("monster.TestType()")
|
|
||||||
}
|
|
||||||
|
|
||||||
// initialize a Table from a union field Test(...)
|
// initialize a Table from a union field Test(...)
|
||||||
var table2 flatbuffers.Table
|
var table2 flatbuffers.Table
|
||||||
if ok := monster.Test(&table2); !ok {
|
if ok := monster.Test(&table2); !ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user