Skip to content

Commit

Permalink
Initialise map differently
Browse files Browse the repository at this point in the history
  • Loading branch information
keynmol authored and tgodzik committed Jul 26, 2024
1 parent 6f30481 commit 1291803
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ class EvaluatedMarkdownDocumentSuite extends BaseSuite {
|```
""".stripMargin

val variables = java.util.Map.of("HELLO", "1", "WORLD", "2")
val variables = new java.util.HashMap[String, String]()
variables.put("HELLO", "1")
variables.put("WORLD", "2")

val evaluated = mdoc.evaluateMarkdownDocument("README.md", document, variables)

Expand Down

0 comments on commit 1291803

Please sign in to comment.