Skip to content

Conversation

@psfinaki
Copy link
Contributor

@psfinaki psfinaki commented Jun 19, 2024

Found when reviewing this PR. The code throws ArgumentOutOfRangeException and the tests verify ArgumentException, here. Not good.

CheckThrowsExn should be adjusted to match the exception type, otherwise it only checks them within the type hierarchy.

@github-actions
Copy link
Contributor

✅ No release notes required

@psfinaki psfinaki marked this pull request as ready for review June 19, 2024 16:44
@psfinaki psfinaki requested a review from a team as a code owner June 19, 2024 16:44
@KevinRansom KevinRansom enabled auto-merge (squash) June 20, 2024 03:43
@psfinaki
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@psfinaki
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@psfinaki
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@psfinaki psfinaki changed the title Fix an exception check in the tests Fix exception checks in the tests Jun 25, 2024
@psfinaki
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@psfinaki psfinaki deleted the exceptions branch February 10, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants