From edb3b9c30763b035ee367a4162df27e682d47a60 Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Mon, 21 Sep 2015 17:51:16 -0400 Subject: [PATCH] Remove duplicate Go test --- tests/go_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/go_test.go b/tests/go_test.go index 18a6b8e2e..66bac277c 100644 --- a/tests/go_test.go +++ b/tests/go_test.go @@ -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 {