From 87d4aad9090b44c92116551e3e20ebc9f6d2d238 Mon Sep 17 00:00:00 2001 From: Nadav Samet Date: Sat, 20 Jan 2024 16:13:57 -0800 Subject: [PATCH] Remove unused function escapeString --- proptest/src/test/scala/SchemaGenerators.scala | 5 ----- 1 file changed, 5 deletions(-) diff --git a/proptest/src/test/scala/SchemaGenerators.scala b/proptest/src/test/scala/SchemaGenerators.scala index 5d3881ee4..33a67945a 100644 --- a/proptest/src/test/scala/SchemaGenerators.scala +++ b/proptest/src/test/scala/SchemaGenerators.scala @@ -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 =>