Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

fix: Assert.assertThrows() should check result of exceptionConsumer#135

Merged
simon824 merged 3 commits intomasterfrom
assert-throws-bugfix
Nov 30, 2023
Merged

fix: Assert.assertThrows() should check result of exceptionConsumer#135
simon824 merged 3 commits intomasterfrom
assert-throws-bugfix

Conversation

@javeme
Copy link
Contributor

@javeme javeme commented Nov 26, 2023

No description provided.

@codecov
Copy link

codecov bot commented Nov 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5ad55fb) 93.15% compared to head (68b359e) 93.15%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #135   +/-   ##
=========================================
  Coverage     93.15%   93.15%           
  Complexity       65       65           
=========================================
  Files             9        9           
  Lines           263      263           
  Branches         22       22           
=========================================
  Hits            245      245           
  Misses            8        8           
  Partials         10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@javeme
Copy link
Contributor Author

javeme commented Nov 26, 2023

+ @zhenyuT

@zhenyuT
Copy link
Contributor

zhenyuT commented Nov 26, 2023

Seems there's no need to use CompletableFuture in assertThrows method?

simon824
simon824 previously approved these changes Nov 30, 2023
@simon824 simon824 merged commit 8c93652 into master Nov 30, 2023
@simon824 simon824 deleted the assert-throws-bugfix branch November 30, 2023 08:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants