Skip to content

Commit

Permalink
improve test structure
Browse files Browse the repository at this point in the history
  • Loading branch information
haaase committed Jul 4, 2023
1 parent eefa51e commit 2530067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/scala/WholeProgamParsing.scala
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ class WholeProgramParsing extends FunSuite:
case Left(e) => fail(e.show) // parsing failure
case Right(parsed) =>
// uncomment when AST format changes
// import io.circe.syntax.*
// import java.nio.file.{Files, Path}
// Files.write(
// Path.of("examples/calendar_new.ast"),
// Path.of("src/test/resources/calendar_new.ast"),
// parsed.asJson.toString.getBytes(StandardCharsets.UTF_8)
// )
decode[NonEmptyList[Term]](astStr) match
Expand Down

0 comments on commit 2530067

Please sign in to comment.