alexpovel / b4s

Perform binary search on a single, delimited string slice of sorted but unevenly sized substrings.
https://docs.rs/b4s/
MIT License
5 stars 0 forks source link

Fix broken test #3

Closed alexpovel closed 1 year ago

alexpovel commented 1 year ago

https://github.com/alexpovel/b4s/blob/db4820bbe21f445646953af9b30734663f7a89de/tests/main.rs#L272-L282

alexpovel commented 1 year ago

Closing for now. It's a bug as ",a" is sorted, and obviously the empty string is contained, but it's such a niche case... leaving to code as a future, steamy turd to step into.