Skip to content

Commit

Permalink
Merge pull request #1375 from vasilmkd/remove-println
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Jul 7, 2024
2 parents 606e4f4 + 486d0fd commit b5ab4bc
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,7 @@ class JavaCompilerSpec extends UnitSpec with Diagrams {
): Boolean = {
def lineContentCheck = lineContent forall (content => p.position.lineContent contains content)
def lineNumberCheck = p.position.line.isPresent && (p.position.line.get == lineno)
def columnCheck = {
val res = p.position.pointer.isPresent && (p.position.pointer.get == colno)
if (!res) {
println(s"got ${p.position().pointer().get}, expected $colno, problem $p")
}
res
}
def columnCheck = p.position.pointer.isPresent && (p.position.pointer.get == colno)
lineNumberCheck && columnCheck && lineContentCheck
}

Expand Down

0 comments on commit b5ab4bc

Please sign in to comment.