diff --git a/raw_docs/working_chart/typesafe.md b/raw_docs/working_chart/typesafe.md index 5cf2c89..d58a2c8 100644 --- a/raw_docs/working_chart/typesafe.md +++ b/raw_docs/working_chart/typesafe.md @@ -67,7 +67,7 @@ import viz.PlotTargets.doNothing import viz.vega.plots.* import io.circe._ -val teehee = SpecUrl.SimpleBarChartLite.toDsl() // Cunningly parse JSON here +val teehee = SpecUrl.SimpleBarChartLite.toDsl() val asDsl = teehee.toOption.get.asInstanceOf[VegaLiteDsl] val someData : InlineDataset = Seq( Map("a" -> Some(Json.fromString("A")), "b" -> Some(Json.fromInt(20))), diff --git a/tests/shared/src/test/scala/Utils.scala b/tests/shared/src/test/scala/Utils.scala index 642e72b..abe3543 100644 --- a/tests/shared/src/test/scala/Utils.scala +++ b/tests/shared/src/test/scala/Utils.scala @@ -75,7 +75,7 @@ class CheckUtils extends munit.FunSuite: val out = upickle.default.write(d) - assertEquals(out, """{"language":"t","minutes":2,"seconds":32,"bigBox":false,"isScala":false}""") + assertEquals(out, """{"amount":152,"colour":"steelblue","seconds":32,"minutes":2,"language":"t","category":"t"}""") } end CheckUtils