Skip to content

Commit 7e3d0a3

Browse files
committed
apply suggestions from code review, fix formatting
1 parent dff5e44 commit 7e3d0a3

File tree

1 file changed

+24
-15
lines changed

1 file changed

+24
-15
lines changed

presentation-compiler/test/dotty/tools/pc/tests/hover/HoverTermSuite.scala

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -822,23 +822,32 @@ class HoverTermSuite extends BaseHoverSuite:
822822
| val x@@x, yy, zz = 1
823823
|}
824824
|""".stripMargin,
825-
"val xx: Int".hover
825+
"val xx: Int".hover
826826
)
827827

828828
@Test def `multiple-valdefs-2` =
829-
check(
830-
"""|object O {
831-
| val xx, y@@y, zz = 1
832-
|}
833-
|""".stripMargin,
834-
"val yy: Int".hover
835-
)
829+
check(
830+
"""|object O {
831+
| val xx, y@@y, zz = 1
832+
|}
833+
|""".stripMargin,
834+
"val yy: Int".hover
835+
)
836836

837837
@Test def `multiple-valdefs-3` =
838-
check(
839-
"""|object O {
840-
| val xx, yy, z@@z = 1
841-
|}
842-
|""".stripMargin,
843-
"val zz: Int".hover
844-
)
838+
check(
839+
"""|object O {
840+
| val xx, yy, z@@z = 1
841+
|}
842+
|""".stripMargin,
843+
"val zz: Int".hover
844+
)
845+
846+
@Test def `multiple-valdefs-4` =
847+
check(
848+
"""|object O {
849+
| val xx, thisIsAVeryLongNa@@me, zz = 1
850+
|}
851+
|""".stripMargin,
852+
"val thisIsAVeryLongName: Int".hover
853+
)

0 commit comments

Comments
 (0)