Explorar el Código

test: fix proto2 check for TestUDT

Chris Bannister hace 9 años
padre
commit
18f9871608
Se han modificado 1 ficheros con 1 adiciones y 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")
 	}