Skip to content

Commit

Permalink
Reformat with scalafmt 3.7.5
Browse files Browse the repository at this point in the history
Executed command: scalafmt --non-interactive
  • Loading branch information
scala-steward committed Jun 30, 2023
1 parent 5948814 commit 4656026
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/com/velocidi/apso/Implicits.scala
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ object Implicits {
* the function that maps elements to weights
* @param r
* the random value used to select the elements. If the default random value is used, the weighted selection uses
* 1.0 as the sum of all weights. To use another scale of weights, a random value between 0.0 and the maximum
* weight should be passed.
* 1.0 as the sum of all weights. To use another scale of weights, a random value between 0.0 and the maximum
* weight should be passed.
* @tparam T
* the type of the elements
* @return
Expand Down
6 changes: 3 additions & 3 deletions testkit/src/main/scala/com/velocidi/apso/CustomMatchers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ trait CustomMatchers extends SpecificationLike {
val out = new ObjectOutputStream(buffer)
out.writeObject(obj) must
not(throwA[NotSerializableException]) and not(throwAn[InvalidClassException])
// val in = new ObjectInputStream(new ByteArrayInputStream(buffer.toByteArray))
// in.readObject() must beAnInstanceOf[T] and
// not(throwA[InvalidClassException]) and not(throwA[StreamCorruptedException])
// val in = new ObjectInputStream(new ByteArrayInputStream(buffer.toByteArray))
// in.readObject() must beAnInstanceOf[T] and
// not(throwA[InvalidClassException]) and not(throwA[StreamCorruptedException])
}

def exist: Matcher[File] = new Matcher[File] {
Expand Down

0 comments on commit 4656026

Please sign in to comment.