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

Output error messages in red text  #141

Open
Tracked by #142
nao1215 opened this issue Oct 31, 2023 · 0 comments
Open
Tracked by #142

Output error messages in red text  #141

nao1215 opened this issue Oct 31, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@nao1215
Copy link
Owner

nao1215 commented Oct 31, 2023

Is your feature request related to a problem? Please describe.

If the expected value does not match the obtained value, the following message appears. We want to display this message in red text to make it easier for users to understand the error content.

                Error:          Not equal: 
                                expected: true
                                actual  : false
                Test:           TestNewApp/Width_test
                Messages:       mismatched values for header 'Content-Type'. Expected image/png but received text/plain; charset=utf-8
                Name:           width,height is zero

Use fatih/color to change text color for cross-platform support.

@nao1215 nao1215 added the good first issue Good for newcomers label Oct 31, 2023
@nao1215 nao1215 pinned this issue Oct 31, 2023
@nao1215 nao1215 unpinned this issue Oct 31, 2023
@nao1215 nao1215 mentioned this issue Oct 31, 2023
19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant