Browse Source

test: fix proto2 check for TestUDT

Chris Bannister 9 years ago
parent
commit
18f9871608
1 changed files with 1 additions and 1 deletions
  1. 1 1
      udt_test.go

+ 1 - 1
udt_test.go

@@ -152,7 +152,7 @@ func TestUDT_Reflect(t *testing.T) {
 }
 
 func TestUDT_Proto2error(t *testing.T) {
-	if *flagProto < protoVersion3 {
+	if *flagProto > protoVersion2 {
 		t.Skip("UDT are only available on protocol >= 3")
 	}