-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Publish the assert_prints
spec helper
#13599
Publish the assert_prints
spec helper
#13599
Conversation
I think exposing this is a good idea. User code will need to do similar specs as stdlib. I'm not sure about the |
The expectation could also be |
This is a tough one. #13539 means that the IO overloads use Specs outside |
assert_prints
helperassert_prints
spec helper
Co-authored-by: Johannes Müller <straightshoota@gmail.com>
This does not expose
string_build_via_utf16
because it was only needed byspec/manual/string_normalize_spec.cr
to define a helper similar toassert_prints
that uses a custom expectation; instead,assert_prints
itself is overloaded to accept expectations that are noteq
.