Remove duplicate Go test
authorBruno Bigras <bigras.bruno@gmail.com>
Mon, 21 Sep 2015 21:51:16 +0000 (17:51 -0400)
committerBruno Bigras <bigras.bruno@gmail.com>
Mon, 21 Sep 2015 21:51:16 +0000 (17:51 -0400)
tests/go_test.go

index 18a6b8e..66bac27 100644 (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 {