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

org.specs2.specification.FormattingFragments.scala Maven / Gradle / Ivy

package org.specs2
package specification

/**
 * Set of fragments which can be used for formatting
 */
trait FormattingFragments {
  def p          = Fragments.createList(StandardFragments.Br(), StandardFragments.Backtab())
  def br         = StandardFragments.Br()
  def end        = StandardFragments.End()
  def t          = StandardFragments.Tab()
  def t(n: Int)  = StandardFragments.Tab(n)
  def bt         = StandardFragments.Backtab()
  def bt(n: Int) = StandardFragments.Backtab(n)
  def endp       = Fragments.createList(end, StandardFragments.Br())
  def endbr      = Fragments.createList(end, StandardFragments.Br())
}

object FormattingFragments extends FormattingFragments





© 2015 - 2024 Weber Informatics LLC | Privacy Policy