Show similar library names in lib search (#598)
* Show similar library names in lib search * make similarity threshold for lib search a package variable * Add library search tests * Redo name asserts in TestSearchLibrary Just check that the library names have "Test" in them instead of checking the names at each index, which won't always be the same
Showing
commands/lib/search_test.go
0 → 100644
... | @@ -19,6 +19,7 @@ require ( | ... | @@ -19,6 +19,7 @@ require ( |
github.com/gofrs/uuid v3.2.0+incompatible | github.com/gofrs/uuid v3.2.0+incompatible | ||
github.com/golang/protobuf v1.3.3 | github.com/golang/protobuf v1.3.3 | ||
github.com/h2non/filetype v1.0.8 // indirect | github.com/h2non/filetype v1.0.8 // indirect | ||
github.com/imjasonmiller/godice v0.1.2 | |||
github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect | github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect | ||
github.com/juju/loggo v0.0.0-20190526231331-6e530bcce5d8 // indirect | github.com/juju/loggo v0.0.0-20190526231331-6e530bcce5d8 // indirect | ||
github.com/juju/testing v0.0.0-20190429233213-dfc56b8c09fc // indirect | github.com/juju/testing v0.0.0-20190429233213-dfc56b8c09fc // indirect | ||
... | ... |
Please register or sign in to comment