bazelbuild / bazelbuild/rules_testing
Add common StrSubject asserts
Open
enhancement
- Dominant language
- Starlark
- Stars
- 29
- Forks
- 11
- Avg merge
- 15h 15m
- Merged PRs (30d)
- 3
Description
There's a few accessors that strings have that would make using StrSubject a bit easier:
* startswith
* endswith
Also expose `.actual` to easily get at the actual value. This makes it easier to massage a string obtained from elsewhere (e.g. `target.executable().path()`.
Contributor guide
Assessment
This issue has not been assessed yet.