Explorar o código

test: fix proto2 check for TestUDT

Chris Bannister %!s(int64=9) %!d(string=hai) anos
pai
achega
18f9871608
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")
 	}