Skip to content

Fix linting (#1094) #1860

Fix linting (#1094)

Fix linting (#1094) #1860

Triggered via push November 13, 2025 16:04
Status Success
Total duration 1m 10s
Artifacts 1
Markdown linting
15s
Markdown linting
Spell check
17s
Spell check
Build the site with docfx
51s
Build the site with docfx
Build/Test Snippets
27s
Build/Test Snippets
Publish (master branch only)
13s
Publish (master branch only)
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L42
The actual value should not be a constant - perhaps the actual value and the expected value have switched places (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2007.md)
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L41
The actual value should not be a constant - perhaps the actual value and the expected value have switched places (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2007.md)
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L43
Consider using the constraint model, Assert.That(actual, Is.Not.EqualTo(expected)), instead of the classic model, ClassicAssert.AreNotEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2006.md)
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L42
Consider using the constraint model, Assert.That(actual, Is.Not.EqualTo(expected)), instead of the classic model, ClassicAssert.AreNotEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2006.md)
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L41
Consider using the constraint model, Assert.That(actual, Is.Not.EqualTo(expected)), instead of the classic model, ClassicAssert.AreNotEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2006.md)
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L251
Consider using the constraint model, Assert.That(...), instead of the classic model, CollectionAssert(...) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2049.md)
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L250
Consider using the constraint model, Assert.That(...), instead of the classic model, CollectionAssert(...) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2049.md)
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L72
Converting null literal or possible null value to non-nullable type.
Build/Test Snippets: docs/snippets/Snippets.NUnit/ClassicAssertExamples.cs#L297
Cannot convert null literal to non-nullable reference type.
Build/Test Snippets
The entry point of the program is global code; ignoring 'AutoGeneratedProgram.Main(string[])' entry point.

Artifacts

Produced during runtime
Name Size Digest
siteArtifact
15.5 MB
sha256:5772cdf3c0ade75c55fed69222db21df16c4fb9d9a71e163f7e04b7c00deb572