Compare commits

..

1 Commits

Author SHA1 Message Date
Nikita Vorontsov 6400c16694
Merge 879036fb19 into 63dd116924 2025-07-09 12:24:58 +00:00
1 changed files with 0 additions and 24 deletions

View File

@ -240,30 +240,6 @@ func TestMarshalSet(t *testing.T) {
Timeout: 30 * time.Second,
},
},
{
name: "Map ip-ip", // generic case
set: Set{
Name: "test-map",
ID: uint32(3),
Table: tbl,
KeyType: TypeIPAddr,
DataType: TypeIPAddr,
IsMap: true,
},
},
{
// special case, see
// sets.go:setsFromMsg:(case unix.NFTA_SET_DATA_TYPE) and sets.go:AddSet:(if s.DataType.nftMagic == 1)
name: "Vedict map",
set: Set{
Name: "test-map",
ID: uint32(3),
Table: tbl,
KeyType: TypeIPAddr,
DataType: TypeVerdict,
IsMap: true,
},
},
}
for i, tt := range tests {