Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Go Testing case for spell suggestions on bigge fails #26

Open
thomasvvugt opened this issue Jul 8, 2020 · 0 comments
Open

🐛 Go Testing case for spell suggestions on bigge fails #26

thomasvvugt opened this issue Jul 8, 2020 · 0 comments

Comments

@thomasvvugt
Copy link

thomasvvugt commented Jul 8, 2020

Hi everybody,

I am getting this error when I run the following commands while building a Docker image;

FROM golang:latest

RUN go get -t github.com/sajari/fuzzy
RUN cd ${GOPATH}/src/github.com/sajari/fuzzy && go test

I get the following error regarding the double char delete 2nd closest for the word bigge.

--- FAIL: TestSpellingSuggestions (0.00s)
    fuzzy_test.go:78: Spell check suggestions, Double char delete 2nd closest
Spell test1 count: 270, Correct: 193, Incorrect: 77, Ratio: 0.714815, Total time: 6.1401ms

Spell test2 count: 400, Correct: 270, Incorrect: 130, Ratio: 0.675000, Total time: 11.0152ms

FAIL
exit status 1
FAIL    github.com/sajari/fuzzy 4.069s
The command '/bin/sh -c cd ${GOPATH}/src/github.com/sajari/fuzzy && go test' returned a non-zero code: 1

Could you help me out?
Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant