Fix build
This commit is contained in:
@@ -97,14 +97,8 @@ fun assertSuppressed(report: Report, size: Int): List<Report.SuppressedViolation
|
||||
/** Checks the coordinates of this node. */
|
||||
fun Node.assertPosition(bline: Int, bcol: Int, eline: Int, ecol: Int) {
|
||||
reportLocation.apply {
|
||||
{
|
||||
this. // todo rename to getStartLine
|
||||
getStartLine()
|
||||
} shouldBe bline
|
||||
{
|
||||
this. // todo rename to getStartLine
|
||||
getStartColumn()
|
||||
} shouldBe bcol
|
||||
this::getStartLine shouldBe bline
|
||||
this::getStartColumn shouldBe bcol
|
||||
this::getEndLine shouldBe eline
|
||||
this::getEndColumn shouldBe ecol
|
||||
}
|
||||
|
Reference in New Issue
Block a user