Skip to content

Commit be83fa0

Browse files
committed
Extra test cases.
1 parent 677a969 commit be83fa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rule_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,7 @@ func TestRuleEqualmaskMark(t *testing.T) {
738738
func TestRulePortRangeEqual(t *testing.T) {
739739
cases := []RulePortRange{
740740
{Start: 10, End: 10},
741+
{Start: 10, End: 22},
741742
{Start: 11, End: 22},
742743
}
743744
for i1 := range cases {
@@ -757,6 +758,7 @@ func TestRulePortRangeEqual(t *testing.T) {
757758
func TestRuleUIDRangeEqual(t *testing.T) {
758759
cases := []RuleUIDRange{
759760
{Start: 10, End: 10},
761+
{Start: 10, End: 22},
760762
{Start: 11, End: 22},
761763
}
762764
for i1 := range cases {

0 commit comments

Comments
 (0)