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

GD-278: Fix inspector item state. #279

Merged
merged 1 commit into from
Nov 14, 2023
Merged

GD-278: Fix inspector item state. #279

merged 1 commit into from
Nov 14, 2023

Conversation

MikeSchulze
Copy link
Owner

@MikeSchulze MikeSchulze commented Nov 14, 2023

Why

If a test fails due to a combination of warnings and errors, the inspector displays a warning instead of an error.

What

Fix the state handling by not overwriting a higher state if it exists.

testcase2 has orphan warnings and is failing
image

# Why
If a test fails due to a combination of warnings and errors, the inspector displays a warning instead of an error.

# What
Fix the state handling by not overwriting a higher state if it exists.
@MikeSchulze MikeSchulze self-assigned this Nov 14, 2023
@MikeSchulze MikeSchulze merged commit 2e91cc6 into master Nov 14, 2023
@MikeSchulze MikeSchulze deleted the GD-278 branch November 14, 2023 18:22
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

Successfully merging this pull request may close these issues.

GD-278: GdUnit Inspector: Test marks as passed if both warning and error
1 participant