Skip to content

Commit

Permalink
Remove unused function escapeString
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamet committed Jan 21, 2024
1 parent 3814879 commit 87d4aad
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions proptest/src/test/scala/SchemaGenerators.scala
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ object SchemaGenerators {
Gen.sized(max => c.choose(-fromInt(max), fromInt(max)))
}

def escapeString(raw: String): String = {
import scala.reflect.runtime.universe._
Literal(Constant(raw)).toString
}

def writeFileSet(rootNode: RootNode) = {
val tmpDir = Files.createTempDirectory(s"set_").toFile.getAbsoluteFile
rootNode.files.foreach { fileNode =>
Expand Down

0 comments on commit 87d4aad

Please sign in to comment.