fix #55 newlines in function declarations and constructors
This commit is contained in:
1 parent
0526cdfb38
commit
8d1cafae80
3 files changed
+31
-1
No files matched your search
@@ -106,4 +106,15 @@ class OOTest {
|
||||
}
|
||||
""".trimIndent())
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testMultilineConstructor() = runTest {
|
||||
eval("""
|
||||
class Point(
|
||||
x,
|
||||
y
|
||||
)
|
||||
assertEquals(Point(1,2), Point(1,2) )
|
||||
""".trimIndent())
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user