diff --git a/tests/worksheets/src/test/scala/tests/worksheets/EvaluatedMarkdownDocumentSuite.scala b/tests/worksheets/src/test/scala/tests/worksheets/EvaluatedMarkdownDocumentSuite.scala index 6d1a9e268..8d98bf03f 100644 --- a/tests/worksheets/src/test/scala/tests/worksheets/EvaluatedMarkdownDocumentSuite.scala +++ b/tests/worksheets/src/test/scala/tests/worksheets/EvaluatedMarkdownDocumentSuite.scala @@ -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)