Skip to content

Commit

Permalink
Fix test in CI
Browse files Browse the repository at this point in the history
Use None instead of Some in order to avoid a Some value, which would otherwise be printed differently accross the test matrix.
  • Loading branch information
julianpeeters authored and tgodzik committed Dec 30, 2023
1 parent cdbd6e4 commit 9821251
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ class VariablePrinterSuite extends BaseMarkdownSuite {
"single-line-comment",
"""
|```scala mdoc
|import scala.Some // an import statement
|val a = Some(1) // a variable
|import scala.None // an import statement
|val a = None // a variable
|val b = 2 // another variable
|```
""".stripMargin,
"""|```scala
|import scala.Some // an import statement
|val a = Some(1) // a variable
|// a: Some[Int] = Some(value = 1)
|import scala.None // an import statement
|val a = None // a variable
|// a: None.type = None
|val b = 2 // another variable
|// b: Int = 2
|```
Expand Down

0 comments on commit 9821251

Please sign in to comment.