Skip to content

Commit

Permalink
fix: code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiandoetsch committed Oct 2, 2024
1 parent 3aedb54 commit 71720a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/kotlin/snyk/common/lsp/SnykLanguageClientTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ class SnykLanguageClientTest {

// Assert the returned list contains parsed ScanIssues
assertEquals(2, result.size)
assertEquals("Some Issue", result.get(0).title)
assertEquals("Another Issue", result.get(1).title)
assertEquals("Some Issue", result[0].title)
assertEquals("Another Issue", result[1].title)
}

private fun createMockDiagnostic(range: Range, message: String): Diagnostic {
Expand Down

0 comments on commit 71720a7

Please sign in to comment.