summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/optimizations/dumps/single_anon_set.nft
Commit message (Collapse)AuthorAgeFilesLines
* tests: add test case for removal of anon sets with only a single elementFlorian Westphal2021-06-071-0/+15
Also add a few examples that should not be changed: - anon set with 2 elements - anon map with 1 element - anon set with a concatenation The latter could be done with cmp but this currently triggers 'Error: Use concatenations with sets and maps, not singleton values' after removing the anon set. Signed-off-by: Florian Westphal <fw@strlen.de>