aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skate/matchset_test.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/skate/matchset_test.go b/skate/matchset_test.go
index 0436faf..c804210 100644
--- a/skate/matchset_test.go
+++ b/skate/matchset_test.go
@@ -67,6 +67,20 @@ func TestMatchSetLookup(t *testing.T) {
n: -1,
result: []string{"american italian proceedings"},
},
+ {
+ s: "american",
+ ps: []string{
+ "american proceedings XII",
+ "american journal",
+ "american",
+ },
+ n: -1,
+ result: []string{
+ "american proceedings XII",
+ "american journal",
+ "american",
+ },
+ },
}
for _, c := range cases {
ms := NewMatchSet(c.ps)