Skip to content

Commit

Permalink
Fixed Sonar warning
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev authored Dec 30, 2024
1 parent dbb01e1 commit 605112c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/com/github/underscore/UnderscoreTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ void pop() {
void shift() {
assertEquals("a", Underscore.shift(asList("a", "b", "c")).getKey());
assertEquals("a", new Underscore(asList("a", "b", "c")).shift().getKey().toString());
assertEquals(
"a", Underscore.chain(asList("a", "b", "c")).shift().item().getKey().toString());
assertEquals("a", Underscore.chain(asList("a", "b", "c")).shift().item().getKey());
}

/*
Expand Down

0 comments on commit 605112c

Please sign in to comment.