Skip to content

Pass exception cause to Assertions.fail in SimplexOptimizerTest - #344

Merged
aherbert merged 1 commit into
apache:masterfrom
siddiqueirshad:fix-math-issues
Oct 30, 2026
Merged

aherbert merged 1 commit into
apache:masterfrom
siddiqueirshad:fix-math-issues

Conversation

@siddiqueirshad

Copy link
Copy Markdown
Contributor

Pass exception cause to Assertions.fail in SimplexOptimizerTest

In SimplexOptimizerTest, pass the caught IOException e directly to Assertions.fail(e) instead of only e.getMessage(). This ensures that JUnit 5 preserves the root exception and full stack trace upon failure.

@aherbert
aherbert merged commit a511e8c into apache:master Oct 30, 2026
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.

2 participants