Support ByteStreams in bytes starts-with and bytes ends-with (#12887)

# Description
Restores `bytes starts-with` so that it is able to work with byte
streams once again. For parity/consistency, this PR also adds byte
stream support to `bytes ends-with`.

# User-Facing Changes
- `bytes ends-with` now supports byte streams.

# Tests + Formatting
Re-enabled tests for `bytes starts-with` and added tests for `bytes
ends-with`.
This commit is contained in:
Ian Manske
2024-05-16 23:59:08 +00:00
committed by GitHub
parent aec41f3df0
commit 6891267b53
5 changed files with 275 additions and 96 deletions

View File

@ -1 +1,2 @@
mod ends_with;
mod starts_with;