Skip to content

Commit

Permalink
Update RandomNumberGeneratorJava21Spec.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Feb 8, 2025
1 parent 74d4358 commit dba4e2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RandomNumberGeneratorJava21Spec extends AnyWordSpec with Matchers {

"support config" in {
val config = ConfigFactory.parseString(
"""pekko.random.generator.generator-implementation = "Xoroshiro128PlusPlus"""")
"""pekko.random.generator-implementation = "Xoroshiro128PlusPlus"""")
val rng = RandomNumberGenerator.createGenerator(config)
rng shouldBe a[Jep356RandomNumberGenerator]
rng.nextInt(10) should (be >= 0 and be < 10)
Expand Down

0 comments on commit dba4e2c

Please sign in to comment.