Commit 2736711d authored by Robert's avatar Robert

Merge pull request #275 from brunoqc/patch-1

Remove duplicate Go test
parents 5de28c74 edb3b9c3
...@@ -203,10 +203,6 @@ func CheckReadBuffer(buf []byte, offset flatbuffers.UOffsetT, fail func(string, ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment