feat: handle null/empty async Because reasons#974
Quality Gate failed
Failed conditions
2 New issues
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 16 in Tests/aweXpect.Core.Tests/Core/BecauseTests.cs
sonarqubecloud / SonarCloud Code Analysis
Argument of type 'Task<string>' cannot be used for parameter 'reason' of type 'Task<string?>' in 'ExpectationResult ExpectationResult.Because(Task<string?> reason)' due to differences in the nullability of reference types.
See more on https://sonarcloud.io/project/issues?id=Testably_aweXpect&issues=AZ58y0Md47GWV_L62MED&open=AZ58y0Md47GWV_L62MED&pullRequest=974
Check warning on line 92 in Tests/aweXpect.Core.Tests/Core/BecauseTests.cs
sonarqubecloud / SonarCloud Code Analysis
Argument of type 'Task<string>' cannot be used for parameter 'reason' of type 'Task<string?>' in 'ExpectationResult<int> ExpectationResult<int, ExpectationResult<int>>.Because(Task<string?> reason)' due to differences in the nullability of reference types.
See more on https://sonarcloud.io/project/issues?id=Testably_aweXpect&issues=AZ58y0Md47GWV_L62MEE&open=AZ58y0Md47GWV_L62MEE&pullRequest=974