Skip to content

Commit f6122a9

Browse files
committed
Fix unit test
1 parent a062e04 commit f6122a9

File tree

1 file changed

+1
-1
lines changed
  • src/test/kotlin/io/github/serpro69/kfaker

1 file changed

+1
-1
lines changed

src/test/kotlin/io/github/serpro69/kfaker/FakerIT.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class FakerIT : DescribeSpec({
7979
&& value != "Duran Duran" // rockBand#name
8080
&& value != "Li Li"
8181
&& value != "Dee Dee"
82-
&& (provider.name != "cannabisbrands" && it.name != "Lola Lola")
82+
&& value != "Lola Lola" // cannabis#brands
8383
) {
8484
// Since there's no way to modify assertion message in KotlinTest it's better to throw a custom error
8585
if (values.odds() == values.evens()) {

0 commit comments

Comments
 (0)