diff --git a/src/test/java/com/github/underscore/UnderscoreTest.java b/src/test/java/com/github/underscore/UnderscoreTest.java index 2d8b32a5..09952755 100644 --- a/src/test/java/com/github/underscore/UnderscoreTest.java +++ b/src/test/java/com/github/underscore/UnderscoreTest.java @@ -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()); } /*