Skip to content

Commit d85918e

Browse files
committed
fix test case
1 parent 6756915 commit d85918e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cvl/cvl_when_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ func TestValidateEditConfig_When_Exp_In_Choice_Negative(t *testing.T) {
4545
map[string]string{
4646
"PACKET_ACTION": "FORWARD",
4747
"IP_TYPE": "IPV6",
48-
"SRC_IP": "10.1.1.1/32", //Invalid field
49-
"DST_IP": "2620:1234::1/64",
48+
"SRC_IP": "10.1.1.1/32", //Invalid field due to IP_TYPE
49+
"DST_IP": "10.1.1.2/32", //Also invalid
5050
"L4_SRC_PORT": "1909",
5151
"IP_PROTOCOL": "103",
5252
"L4_DST_PORT_RANGE": "9000-12000",

0 commit comments

Comments
 (0)