Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add assertStartsWith and assertEndsWith to complement assertContains #125

Open
go2null opened this issue Sep 21, 2019 · 1 comment
Open

Comments

@go2null
Copy link

go2null commented Sep 21, 2019

Add assertStartsWith and assertEndsWith to complement assertContains ( #98 )

If there is interest in this, I can submit a PR.

Intent is to use POSIX Paramter Expansion (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02).

On that note, is there any reason why echo | grep was used for assertContains?

@go2null
Copy link
Author

go2null commented Sep 21, 2019

This covers the example use case in #101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant