Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
romainguy committed May 16, 2024
1 parent 6a6b743 commit 2c58dcc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class CodeBuilderTest {
""".trimIndent().trimEnd()
)
assertThat(code.getCodeLines(1..4)).containsExactly(0, 2, 4, 6).inOrder()
assertThat(code.getSourceLines(0 until text.lines().size)).containsExactly(1, 1, 2, null, 3, 3, 4)
assertThat(code.getSourceLines(0 until text.lines().size))
.containsExactly(1, 1, 2, -1, 3, 3, 4)
.inOrder()
}
}
Expand Down

0 comments on commit 2c58dcc

Please sign in to comment.