bazelbuild / rules_testing

Starlark testing framework and utility libraries
https://rules-testing.readthedocs.io/
Apache License 2.0
21 stars 5 forks source link

Add common StrSubject asserts #71

Open rickeylev opened 11 months ago

rickeylev commented 11 months ago

There's a few accessors that strings have that would make using StrSubject a bit easier:

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().