Skip to content

Commit

Permalink
Fix test compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Oct 20, 2023
1 parent 4b7e996 commit 8dacf34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-kit/src/test/scala/format/pgn/ParserCheck.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ class ParserCheck extends ScalaCheckSuite:
test("ParserCheck"):
forAll(genPgn(Situation(Standard))): pgn =>
val str = pgn.render
val result = Parser.full(str).get.toPgn.render
val result = Parser.full(str).toOption.get.toPgn.render
assertEquals(result, str)

0 comments on commit 8dacf34

Please sign in to comment.