Skip to content

Workaround Xunit bug casting InlineData #43570

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

Merged
merged 1 commit into from
Aug 26, 2022

Conversation

ericstj
Copy link
Member

@ericstj ericstj commented Aug 26, 2022

See xunit/xunit#2564
Workaround this issue by avoiding a cast between nullable numeric types.

See xunit/xunit#2564
Workaround this issue by avoiding a cast between nullable numeric types.
@Tratcher Tratcher enabled auto-merge (squash) August 26, 2022 17:20
@Tratcher Tratcher merged commit eaec374 into dotnet:main Aug 26, 2022
@ghost ghost added this to the 8.0-alpha1 milestone Aug 26, 2022
dougbu added a commit that referenced this pull request Aug 28, 2022
* Get newer xUnit packages
- move to `2.4.2` version of most xUnit packages
  - we were slightly behind Arcade SDK here and newer version has some fixes
  - _could_ reuse Arcade SDK's `$(XUnitVersion)`
    - that would require moving e.g. `$(XUnitAssertVersion)` to (say) CSharp.Common.props
    - VersionDefaults.props in SDK imports our Versions.props before setting its defaults
  - react to nullability errors due to new annotations in this version
- move to XUnit.Abstractions `1.0.0`
  - react to issues new analyzer finds

* Workaround Xunit bug casting InlineData (#43570)

See xunit/xunit#2564
Workaround this issue by avoiding a cast between nullable numeric types.

Co-authored-by: Eric StJohn <[email protected]>
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants