[#292] pruning: simplify table test driver

This commit is contained in:
Christian Schwarz
2020-08-29 17:26:31 +02:00
parent 639359f393
commit ad7a104ab4
2 changed files with 17 additions and 39 deletions

View File

@@ -39,10 +39,7 @@ func TestKeepLastN(t *testing.T) {
rules: []KeepRule{
KeepLastN{1},
},
expDestroyAlternatives: []map[string]bool{
{"1": true, "2": true, "3": true, "4": true},
{"1": true, "2": true, "3": true, "5": true},
},
expDestroy: map[string]bool{"1": true, "2": true, "3": true, "4": true},
},
"keepMany": {
inputs: inputs["s1"],