add discov tests (#448)

This commit is contained in:
Kevin Wan
2021-02-07 20:24:47 +08:00
committed by GitHub
parent 22a1fa649e
commit 5b79ba2618
3 changed files with 34 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ func TestExtract(t *testing.T) {
_, ok = extract("any", -1)
assert.False(t, ok)
_, ok = extract("any", 10)
assert.False(t, ok)
}
func TestMakeKey(t *testing.T) {