fuzzy
fuzzy copied to clipboard
🐛 Go Testing case for spell suggestions on `bigge` fails
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!