diff --git a/.scalafmt.conf b/.scalafmt.conf index c67bf5c6..8a257981 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version=2.6.0 +version=2.6.1 style = defaultWithAlign maxColumn = 100 diff --git a/src/main/scala/stdlib/Asserts.scala b/src/main/scala/stdlib/Asserts.scala index 999ee9ee..a98e3b48 100644 --- a/src/main/scala/stdlib/Asserts.scala +++ b/src/main/scala/stdlib/Asserts.scala @@ -67,7 +67,8 @@ object Asserts extends AnyFlatSpec with Matchers with org.scalaexercises.definit v1 shouldEqual res0 /** - * `shouldEqual` is an assertion. It is from ScalaTest, not from the Scala language. */ + * `shouldEqual` is an assertion. It is from ScalaTest, not from the Scala language. + */ } /** diff --git a/src/main/scala/stdlib/Iterables.scala b/src/main/scala/stdlib/Iterables.scala index 7ad86a53..5683817d 100644 --- a/src/main/scala/stdlib/Iterables.scala +++ b/src/main/scala/stdlib/Iterables.scala @@ -201,7 +201,8 @@ object Iterables extends AnyFlatSpec with Matchers with org.scalaexercises.defin val yt1 = Set(3, 2, 1) xt1.iterator.sameElements(yt1) should be(res3) // Caution - see below! /** - * Note that very small Sets (containing up to 4 elements) are implemented differently to larger Sets; as a result, their iterators produce the elements in the order that they were originally added. This causes the surprising (and arguably incorrect) behaviour in the final example above. */ + * Note that very small Sets (containing up to 4 elements) are implemented differently to larger Sets; as a result, their iterators produce the elements in the order that they were originally added. This causes the surprising (and arguably incorrect) behaviour in the final example above. + */ } } diff --git a/src/main/scala/stdlib/Options.scala b/src/main/scala/stdlib/Options.scala index 6d37562b..c0230e3b 100644 --- a/src/main/scala/stdlib/Options.scala +++ b/src/main/scala/stdlib/Options.scala @@ -108,7 +108,8 @@ object Options extends AnyFlatSpec with Matchers with org.scalaexercises.definit result2 should be(res1) /** - * Note that the type of result1 is now Option[Double], thanks to the scala type inference. */ + * Note that the type of result1 is now Option[Double], thanks to the scala type inference. + */ } /**