Fix tests failing when LANG="en_US.UTF-8" environment variable not set by krzesii · Pull Request #42 · deanwampler/programming-scala-book-code-examples

Hi @deanwampler,

Here's fix for tests failing when locale are different than en_US - issue #39. As an alternative in Intellij Idea it is possible to add -Duser.language=en_US JVM flag in Settings -> Build, Execution, Deployment -> sbt in VM parameters field.

Fix tested with following config:

  • sbt 1.55
  • AdoptOpenJDK 11
  • Ubuntu 21.04
  • LANG env variable set to pl_PL.UTF-8

Thank you for writing the book, I have really enjoyed learning with it so far.