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

Bug: Case sensitive matching is ignored in latest version #7

Open
ad-si opened this issue May 3, 2024 · 1 comment
Open

Bug: Case sensitive matching is ignored in latest version #7

ad-si opened this issue May 3, 2024 · 1 comment

Comments

@ad-si
Copy link

ad-si commented May 3, 2024

The caseSensitive variable at

match pattern t pre post extract caseSensitive =
is ignored.

The tests even fail:

### Failure in: 1:match:3:should be case sensitive is specified:0
tests/tests.hs:37
expected: Nothing
 but got: Just (Fuzzy {original = "Haskell", rendered = "Haskell", score = 26})

I'd recommend to implement some simple CI testing with GitHub actions to catch such regressions.

@ad-si
Copy link
Author

ad-si commented May 3, 2024

Fixed it in my fork, if you want to copy the fix:
ad-si/Fuzzily@c3f64e0

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