All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.specs2.text.Message.scala Maven / Gradle / Ivy

There is a newer version: 3.7
Show newest version
package org.specs2
package text

private[specs2]
trait Message {
  /**
   * concatenate 2 messages
   */
  def concat(m1: String, m2: String, separator: String = "; ") =
    Seq(m1, m2).filterNot(_.isEmpty).mkString(separator)

}

private[specs2]
object Message extends Message




© 2015 - 2024 Weber Informatics LLC | Privacy Policy