Remove duplicate Go test

This commit is contained in:
Bruno Bigras
2015-09-21 17:51:16 -04:00
parent 5de28c74f9
commit edb3b9c307

View File

@@ -203,10 +203,6 @@ func CheckReadBuffer(buf []byte, offset flatbuffers.UOffsetT, fail func(string,
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(...)
var table2 flatbuffers.Table
if ok := monster.Test(&table2); !ok {