diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-06-01 13:35:59 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-06-01 13:35:59 +0200 |
commit | b8723d14fc31f2e444401a62a0f720ea6aed3189 (patch) | |
tree | f0a4be36fe572b049c0848072d1fae9d2e95fe34 | |
parent | bd862b51161fab8a62bcae49eb7452a82dd2b70a (diff) | |
download | refcat-b8723d14fc31f2e444401a62a0f720ea6aed3189.tar.gz refcat-b8723d14fc31f2e444401a62a0f720ea6aed3189.zip |
add test case
-rw-r--r-- | skate/matchset_test.go | 14 |
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) |