Skip to content

Commit

Permalink
Remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishiking committed Sep 21, 2023
1 parent 3daeaa6 commit 499c347
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class SemanticdbTests:
def collectErrorOrUpdate(expectPath: Path, obtained: String) =
if updateExpectFiles then
Files.write(expectPath, obtained.getBytes(StandardCharsets.UTF_8))
println("updated: " + expectPath)
else
val expected = new String(Files.readAllBytes(expectPath), StandardCharsets.UTF_8)
val expectName = expectPath.getFileName
Expand All @@ -87,12 +86,8 @@ class SemanticdbTests:
.resolve("semanticdb")
.resolve(relpath)
.resolveSibling(filename + ".semanticdb")
println(semanticdbPath)
val expectPath = source.resolveSibling(filename.replace(".scala", ".expect.scala"))
val doc = Tools.loadTextDocument(source, relpath, semanticdbPath)
println(semanticdbPath.getFileName().toString())
if (semanticdbPath.getFileName().toString() == "ValPattern.scala.semanticdb")
println(doc)
Tools.metac(doc, rootSrc.relativize(source))(using metacSb)
val obtained = trimTrailingWhitespace(SemanticdbTests.printTextDocument(doc))
collectErrorOrUpdate(expectPath, obtained)
Expand Down

0 comments on commit 499c347

Please sign in to comment.