Skip to content

Conversation

@dkropachev
Copy link
Collaborator

NUnit 4 has different Assert API.
So, some test code changes needed.

@dkropachev dkropachev force-pushed the dk/upgrade-nunit-to-4 branch 3 times, most recently from 7f10b38 to c2c0e01 Compare September 17, 2025 15:45
@dkropachev dkropachev marked this pull request as ready for review September 17, 2025 17:07
@dkropachev dkropachev force-pushed the dk/upgrade-nunit-to-4 branch from c2c0e01 to 2f59e46 Compare September 17, 2025 17:24
Copy link

@wprzytula wprzytula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ What's the very goal of the upgrade?

{
Assert.Fail("Awaited Task without ConfigureAwait() call in file {0}: {1}",
fileInfo.FullName, match.Value);
Assert.Fail($"Awaited Task without ConfigureAwait() call in file {fileInfo.FullName}: {match.Value}");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just in case, this one is needed, since Assert.Fail( is a bit different in NUnit.Framework.Legacy.ClassicAssert

@dkropachev
Copy link
Collaborator Author

❓ What's the very goal of the upgrade?

To keep this dependancy updated.

NUnit 4 has different Assert API.
So, some test code changes needed.
@dkropachev dkropachev merged commit d038a46 into scylladb:master Sep 18, 2025
1 of 3 checks passed
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