Skip to content

Conversation

@nickrobinson251
Copy link
Contributor

@nickrobinson251 nickrobinson251 commented Jan 13, 2022

This restores the behaviour of how @test shows
a test pass in Julia v1.0 - v1.6, reverting the
display changes that resulted when we began storing
more info in the Pass type in #36879.

Closes #43794.

We could also change @test_throws to show only Test Passed rather than Thrown/Message info if consistency is desirable (but the issues mentioned in #43794 don't apply so much to the Thrown/Message info in @test_throws, so i've left that alone for now)

@DilumAluthge
Copy link
Member

DilumAluthge commented Jan 14, 2022

Probably needs a rebase on the latest master (to pick up the fixes for 32-bit CI that were recently merged to master).

@nickrobinson251 nickrobinson251 force-pushed the npr/show-pass-status-only branch 2 times, most recently from 5726a9d to 443cc78 Compare January 14, 2022 11:23
@nickrobinson251
Copy link
Contributor Author

nickrobinson251 commented Jan 14, 2022

rebased

This restores the behaviour of how `@test` shows
a test pass in Julia v1.0 - v1.6, reverting the
display changes that resulted when we began storing
more info in the `Pass` type in JuliaLang#36879.
Closes JuliaLang#43794.
@nickrobinson251 nickrobinson251 force-pushed the npr/show-pass-status-only branch from 443cc78 to f7cd6be Compare January 14, 2022 11:25
@fredrikekre fredrikekre merged commit 5064528 into JuliaLang:master Jan 14, 2022
@nickrobinson251 nickrobinson251 deleted the npr/show-pass-status-only branch January 14, 2022 14:02
N5N3 pushed a commit to N5N3/julia that referenced this pull request Jan 24, 2022
This restores the behavior of how `at-test` shows a test pass in Julia
v1.0 - v1.6, reverting the display changes introduced when
storing more info in the `Pass` type in JuliaLang#36879, closes JuliaLang#43794.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
This restores the behavior of how `at-test` shows a test pass in Julia
v1.0 - v1.6, reverting the display changes introduced when
storing more info in the `Pass` type in JuliaLang#36879, closes JuliaLang#43794.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
This restores the behavior of how `at-test` shows a test pass in Julia
v1.0 - v1.6, reverting the display changes introduced when
storing more info in the `Pass` type in JuliaLang#36879, closes JuliaLang#43794.
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.

Only show "Test Passed" when a test passes, not what was evaluated

4 participants