Skip to content

Fix compiler warnings for unit and integration test project #1950

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
1 commit merged into from
Feb 3, 2025

Conversation

ghost
Copy link

@ghost ghost commented Jan 28, 2025

Issue #, if available: DOTNET-7935

Description of changes: Fix compiler warnings in integration test and regular project. Most of them are due to null checks.

Testing. I ran all unit tests and integration tests locally on my machine and they pass

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ghost ghost requested review from normj and philasmar January 28, 2025 16:55
@ghost ghost marked this pull request as ready for review January 28, 2025 16:55
@@ -172,13 +172,13 @@ private async Task RunApiGatewayTest<T>(HttpContextTestCase testCase, string api

CompareApiGatewayRequests(expectedApiGatewayRequest, actualApiGatewayRequest);

testCase.Assertions(actualApiGatewayRequest, emulatorMode);
testCase.Assertions(actualApiGatewayRequest!, emulatorMode);
Copy link
Author

Choose a reason for hiding this comment

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

i dont think this can ever be null

@ghost ghost added the Release Not Needed Add this label if a PR does not need to be released. label Jan 28, 2025
@ghost ghost force-pushed the gcbeatty/compiler2 branch from 4d0183b to cb8fb50 Compare February 3, 2025 15:10
@ghost ghost merged commit 787b250 into feature/lambdatesttool-v2 Feb 3, 2025
4 checks passed
GarrettBeatty added a commit that referenced this pull request Feb 6, 2025
fix compiler warnings for it project (#1950)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release Not Needed Add this label if a PR does not need to be released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants