Skip to content

Commit

Permalink
Excavator: Prefer AssertJ (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Oct 3, 2024
1 parent 4c3747d commit 6d9e448
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ public void test_psi_tree_structure() throws Exception {

PsiElement[] groupParts = PsiTreeUtil.getChildrenOfType(dependencyGroupElement, PsiElement.class);
assertThat(groupParts).isNotNull();
assertThat(groupParts.length >= 5).isTrue(); // Should contain at least com, ., palantir, ., baseline
assertThat(groupParts.length)
.isGreaterThanOrEqualTo(5); // Should contain at least com, ., palantir, ., baseline
assertThat(groupParts[0].getNode().getElementType()).isEqualTo(VersionPropsTypes.GROUP_PART);
assertThat(groupParts[0].getText()).isEqualTo("com");
assertThat(groupParts[1].getNode().getElementType()).isEqualTo(VersionPropsTypes.DOT);
Expand Down

0 comments on commit 6d9e448

Please sign in to comment.