Skip to content

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

@thomasvvugt

Description

@thomasvvugt

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions