summaryrefslogtreecommitdiff
path: root/predict_test.go
diff options
context:
space:
mode:
authorEyal Posener <[email protected]>2017-11-04 10:21:41 +0200
committerEyal Posener <[email protected]>2017-11-04 10:51:40 +0200
commit7ee9623f2b5d4685a91a51d0823275754b4d3a0a (patch)
treef45cd54539dd9a03cbb5314bb6a9c0891d013712 /predict_test.go
parent88e59760adaddb8276c9b15511302890690e2dae (diff)
Filter matches as a final stage
This simplifies the prediction logic writing, the predictor doesn't need to filter our according to line matching, instead it returns everything and the filtering is done at the end. This does not break current behavior.
Diffstat (limited to 'predict_test.go')
-rw-r--r--predict_test.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/predict_test.go b/predict_test.go
index ac26e33..ba876d0 100644
--- a/predict_test.go
+++ b/predict_test.go
@@ -22,12 +22,6 @@ func TestPredicate(t *testing.T) {
want: []string{"a", "b", "c"},
},
{
- name: "set with does",
- p: PredictSet("./..", "./x"),
- argList: []string{"./.", "./.."},
- want: []string{"./.."},
- },
- {
name: "set/empty",
p: PredictSet(),
want: []string{},