Skip to content

Commit 605112c

Browse files
authored
Fixed Sonar warning
1 parent dbb01e1 commit 605112c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/com/github/underscore/UnderscoreTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ void pop() {
180180
void shift() {
181181
assertEquals("a", Underscore.shift(asList("a", "b", "c")).getKey());
182182
assertEquals("a", new Underscore(asList("a", "b", "c")).shift().getKey().toString());
183-
assertEquals(
184-
"a", Underscore.chain(asList("a", "b", "c")).shift().item().getKey().toString());
183+
assertEquals("a", Underscore.chain(asList("a", "b", "c")).shift().item().getKey());
185184
}
186185

187186
/*

0 commit comments

Comments
 (0)