Skip to content

Commit

Permalink
Remove an unused cast
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnatBeresnev committed Jun 16, 2023
1 parent 7d6fc93 commit be91cbb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ class LinkableContentTest : BaseAbstractTest() {
Assertions.assertEquals(2, classChildren.size)
val function = classChildren.find { it.name == "printWithExclamation" }
val text = (function as MemberPageNode).content.let { it as ContentGroup }.children.last()
.let { it as ContentDivergentGroup }.children.single()
.let { it as ContentDivergentInstance }.after
.let { it as ContentDivergentGroup }.children.single().after
.let { it as ContentGroup }.children.last()
.let { it as ContentGroup }.children.single()
.let { it as ContentCodeBlock }.children.single()
Expand Down

0 comments on commit be91cbb

Please sign in to comment.