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

The entire error message is red #48

Closed
volks73 opened this issue May 9, 2018 · 1 comment
Closed

The entire error message is red #48

volks73 opened this issue May 9, 2018 · 1 comment
Assignees
Labels

Comments

@volks73
Copy link
Owner

volks73 commented May 9, 2018

The entire error message is printed in red, not just the "tag", which is the portion to the left of the colon, :, before the message. The tag should be red, but not message.

@volks73 volks73 self-assigned this May 9, 2018
@volks73 volks73 added the bug label May 9, 2018
volks73 added a commit that referenced this issue May 10, 2018
This resolves:

- [Issue #47](#47)
- [Issue #48](#48)

The problem was not resetting the color settings after printing in Red
and not breaking up the error string into a tag (Red) and message
(White).
@volks73
Copy link
Owner Author

volks73 commented May 10, 2018

Fixed in f4ad20e

@volks73 volks73 closed this as completed May 10, 2018
volks73 added a commit that referenced this issue Sep 3, 2019
This required changing the implementation of creating test projects. The `.tmp`
prefix can be used in Windows but the cargo project name cannot. Thus, the
`--name <NAME>` option needed to be used for creating a test package because the
`TempDir` type from the assert_fs package does not support the tempfile TempDir
builder or changing the prefix in newer versions. See Issues [#46] and [#48]
from the `assert_fs` project for more information.

[#46]: assert-rs/assert_fs#46
[#48]: assert-rs/assert_fs#48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant