bazelbuild / bazelbuild/rules_testing

Add common StrSubject asserts

Open
#71 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.