Repository navigation
test: remove redundant usings flagged by InspectCode - #706
Merged
Merged
Conversation
… by InspectCode Clears code-scanning alerts 2307, 2308, 2310, 2329, 2330, 2331 (RedundantUsingDirective). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to removing unused imports and introduce no functional behavior changes.
0 open findings
What changed in this PR
Removes six redundant System.Diagnostics.CodeAnalysis imports from unit tests, resolving InspectCode warnings including issues #660 and #661.
Changes:
- Removed unused imports from five abstraction test files.
- Removed the same import from one TestKit test file.
| File | Description |
|---|---|
tests/Wolfgang.Etl.TestKit.Tests.Unit/TestLoaderMutationTests.cs |
Removes redundant import. |
tests/Wolfgang.Etl.Abstractions.Tests.Unit/ItemErrorHandlingTests.cs |
Removes redundant import. |
tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/TransformerBaseCoverageTests.cs |
Removes redundant import for #660. |
tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/TimerSeamTests.cs |
Removes redundant import. |
tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/LoaderBaseCoverageTests.cs |
Removes redundant import for #661. |
tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/ExtractorBaseCoverageTests.cs |
Removes redundant import. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 12, 2026
Chris-Wolfgang
added this pull request to stack #710
October 12, 2026 16:21
This was referenced Oct 12, 2026
This was referenced Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the unused
using System.Diagnostics.CodeAnalysis;from 6 test files. InspectCode flags each one asRedundantUsingDirective.Tests.Unit/BaseClassTests/ExtractorBaseCoverageTests.csTests.Unit/BaseClassTests/LoaderBaseCoverageTests.cs(#661)Tests.Unit/BaseClassTests/TransformerBaseCoverageTests.cs(#660)Tests.Unit/BaseClassTests/TimerSeamTests.csTests.Unit/ItemErrorHandlingTests.csTestKit.Tests.Unit/TestLoaderMutationTests.csCloses #660
Closes #661
This is the bottom PR of a stack of security-alert fixes.
Verified
dotnet build -c ReleaseofWolfgang.Etl.Abstractions.Tests.UnitandWolfgang.Etl.TestKit.Tests.Unit, all TFMs: 0 warnings, 0 errors.🤖 Generated with Claude Code