Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpe85 committed May 24, 2024
1 parent 88f0a44 commit 1304c93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class AbstractRuleTests : StringSpec({
rule1 shouldBe rule2
rule1 shouldNotBe Any()
rule1.hashCode() shouldBe rule2.hashCode()
rule1.toString() shouldBe "\$OnlyChildRule()"
rule2.toString() shouldBe "\$OnlyChildRule()"
rule1.toString() shouldBe "${OnlyChildRule::class.simpleName}()"
rule2.toString() shouldBe "${OnlyChildRule::class.simpleName}()"
}
"Replace reference rule" {
OnlyChildRule(mockk<ReferenceRule<String>>()).apply {
Expand Down

0 comments on commit 1304c93

Please sign in to comment.