Skip to content
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

Using Assert.Ignore() returns exception #430

Closed
fdfey opened this issue Mar 18, 2022 · 5 comments
Closed

Using Assert.Ignore() returns exception #430

fdfey opened this issue Mar 18, 2022 · 5 comments

Comments

@fdfey
Copy link

fdfey commented Mar 18, 2022

error AD0001: Analyzer 'NUnit.Analyzers.UseAssertMultiple.UseAssertMultipleAnalyzer' threw an exception of type 'System.IndexOutOfRangeException' with message 'Index was outside the bounds of the array.'

when using:
Assert.Ignore();

changing to:
Assert.Ignore("Ignored");

it fixes


Version 3.3.0
.NET SDK 6.0

@manfred-brands
Copy link
Member

This is similar to #420 and likely fixed by the same PR.
You can try the pre-release package from myget to confirm.

@mikkelbu
Copy link
Member

@fdfey I'll try to get a new release out this weekend. Probably tomorrow.

@manfred-brands
Copy link
Member

Duplicate of #420

@manfred-brands manfred-brands marked this as a duplicate of #420 Mar 30, 2022
@mikkelbu mikkelbu added this to the Closed Without Action milestone Mar 30, 2022
@mikkelbu
Copy link
Member

@fdfey We have a minor issue blocking the release, so the release has been delayed until this is resolved.

@fdfey
Copy link
Author

fdfey commented Mar 30, 2022

@fdfey We have a minor issue blocking the release, so the release has been delayed until this is resolved.

no worries, I already used the workaround, thanks for let me know! :)

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

No branches or pull requests

3 participants