Created
March 23, 2021 14:47
-
-
Save bufferings/f9bb11a06b3470eb58f65d802d233e33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
void testToList() { | |
List<String> list = Stream.of("a", "b").map(String::toUpperCase).toList(); | |
assertEquals("[A, B]", list.toString()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment