Skip to content

Commit e9d8718

Browse files
Add newlines at end of test files
1 parent 4e27a3a commit e9d8718

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

tests/run/inline-numeric/Fractional.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ object Fractional:
5959
transparent inline def toInt: Int = x.toInt
6060
transparent inline def toLong: Long = x.toLong
6161
transparent inline def toFloat: Float = x
62-
transparent inline def toDouble: Double = x.toDouble
62+
transparent inline def toDouble: Double = x.toDouble

tests/run/inline-numeric/Integral.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ object Integral:
129129
transparent inline def toInt: Int = x.toInt
130130
transparent inline def toLong: Long = x.toLong
131131
transparent inline def toFloat: Float = x.toFloat
132-
transparent inline def toDouble: Double = x.toDouble
132+
transparent inline def toDouble: Double = x.toDouble

tests/run/inline-numeric/Numeric.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ trait BigDecimalIsConflicted extends Numeric[BigDecimal] with Ordering.BigDecima
4040
transparent inline def toInt: Int = x.intValue
4141
transparent inline def toLong: Long = x.longValue
4242
transparent inline def toFloat: Float = x.floatValue
43-
transparent inline def toDouble: Double = x.doubleValue
43+
transparent inline def toDouble: Double = x.doubleValue

tests/run/inline-numeric/Ordering.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ object Ordering:
5353
inline def compare(x: Float, y: Float) = java.lang.Float.compare(x, y)
5454

5555
trait DoubleIeeeOrdering extends Ordering[Double]:
56-
inline def compare(x: Double, y: Double) = java.lang.Double.compare(x, y)
56+
inline def compare(x: Double, y: Double) = java.lang.Double.compare(x, y)

tests/run/inline-numeric/test.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ object tests:
5151
val v14 = explicitToInt(3.2) // should be (3.2).toInt
5252
val v15 = explicitToInt(3) // should be 3
5353
val v16 = explicitToInt(a) // should be a
54-
val v17 = explicitToInt(a.toShort) // should be a.toShort.toInt
54+
val v17 = explicitToInt(a.toShort) // should be a.toShort.toInt

0 commit comments

Comments
 (0)