branchrust_reboot/main/relax_stringviewcancel
7 Commits over 0 Days - Infinitycph!
Bugfix: StringView.IndexOf - handle seraching for empty same way as string
- amended unit tests to enforce mathicng results check
Tests: ran unit tests
Update: StringView - add StringOptions overloads to StartsWith, EndsWith
- added unit tests to cover new methods
Tests: ran unit tests
Update: StringView now supports StringComparisons when comparing to other StringViews
- expanded unit tests to cover this
Tests: ran unit tests
Bugfix: StringView - ensure defaulted string view can compare to empty string as equal
- left a note about string.Equals(object) not recognizing StringView
- reorganized comparisons in Ranges test to make them pass
Tests: ran unit tests
Update(tests): add a bit more coverage to IndexOf and IndexOfAny null tests
Tests: ran tests
Update: StringView now allows construction from null strings
- expanded unit tests
This brings it closer to ReadOnlySpan semantics.
Tests: some unit tests failing, will investigate later