File tree Expand file tree Collapse file tree 1 file changed +24
-15
lines changed
presentation-compiler/test/dotty/tools/pc/tests/hover Expand file tree Collapse file tree 1 file changed +24
-15
lines changed Original file line number Diff line number Diff 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+ )
You can’t perform that action at this time.
0 commit comments