Commit edb3b9c3 authored by Bruno Bigras's avatar Bruno Bigras

Remove duplicate Go test

parent 5de28c74
...@@ -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