Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Quafadas committed Apr 21, 2023
1 parent e9df9b6 commit 195a1e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion raw_docs/working_chart/typesafe.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))),
Expand Down
2 changes: 1 addition & 1 deletion tests/shared/src/test/scala/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 195a1e6

Please sign in to comment.