aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/scala/xyz/driver/core/GeneratorsTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/xyz/driver/core/GeneratorsTest.scala b/src/test/scala/xyz/driver/core/GeneratorsTest.scala
index 53a3aa9..7e740a4 100644
--- a/src/test/scala/xyz/driver/core/GeneratorsTest.scala
+++ b/src/test/scala/xyz/driver/core/GeneratorsTest.scala
@@ -38,7 +38,7 @@ class GeneratorsTest extends FlatSpec with Matchers with Assertions {
it should "be able to generate com.drivergrp.core.Name names" in {
- nextName[String]() should not be nextName[String]()
+ Seq.fill(10)(nextName[String]()).distinct.size should be > 1
nextName[String]().value.length should be >= 0
val fixedLengthName = nextName[String](10)