소스 검색

test: fix proto2 check for TestUDT

Chris Bannister 9 년 전
부모
커밋
18f9871608
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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")
 	}