Skip to content

Commit

Permalink
Printer.scala added
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-skrodzka committed Oct 24, 2024
1 parent c563d62 commit 8220cff
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions scala/workers/zinc/compile/test/Printer.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package munit.diff

trait Printer {
def print(value: _root_.scala.Any, out: _root_.scala.StringBuilder, indent: _root_.scala.Int): _root_.scala.Boolean

def height: _root_.scala.Int

def isMultiline(string: _root_.scala.Predef.String): _root_.scala.Boolean

def orElse(other: _root_.munit.diff.Printer): _root_.munit.diff.Printer
}

object Printer {
val defaultHeight: _root_.scala.Int = ???

def apply(height: _root_.scala.Int)(partialPrint: _root_.scala.PartialFunction[_root_.scala.Any, _root_.scala.Predef.String]): _root_.munit.diff.Printer = ???

def apply(partialPrint: _root_.scala.PartialFunction[_root_.scala.Any, _root_.scala.Predef.String]): _root_.munit.diff.Printer = ???
}

0 comments on commit 8220cff

Please sign in to comment.