Skip to content

Commit 433d855

Browse files
committed
Fix indentation warning in test
1 parent 64d6536 commit 433d855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/DottyTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ trait DottyTest extends ContextEscapeDetection {
7777
def checkTypes(source: String, typeStringss: List[List[String]])(assertion: (List[List[Type]], Context) => Unit): Unit = {
7878
val dummyName = "x_x_x"
7979
val vals = typeStringss.flatten.zipWithIndex.map{case (s, x)=> s"val ${dummyName}$x: $s = ???"}.mkString("\n")
80-
val gatheredSource = s" ${source}\n object A$dummyName {$vals}"
80+
val gatheredSource = s"${source}\nobject A$dummyName {$vals}"
8181
checkCompile("typer", gatheredSource) {
8282
(tree, context) =>
8383
implicit val ctx = context

0 commit comments

Comments
 (0)