Closed aajtodd closed 1 year ago
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
2 Code Smells
No Coverage information
47.4% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Issue \
n/a
Description of changes
null
when no index is found (indexOf
returns-1
when not found, our test logic was predicating offnull
and silently passing tests that should fail).By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.