// ĠCopyright Ġ 2 0 1 9 ĠAmazon . com , ĠInc . Ġor Ġits Ġaffiliates . ĠAll ĠRights ĠReserved . Ċ // ĠSPDX - License - Identifier : ĠApache - 2 . 0 Ċ Ċ package Ġsoftware . aws . tool k its . jetbrains . utils Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . Test Ċ import Ġsoftware . aws . tool k its . core . utils . split No Blank Ċ Ċ class ĠStringUtils Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġsplit No Blank () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat (" a \ nb \ nc \ n ". split ('\ n ')). isEqualTo ( listOf (" a ", Ġ" b ", Ġ" c ", Ġ"")) ĊĠĠĠĠĠĠĠ ĠassertThat (" a \ nb \ nc \ n ". split No Blank ('\ n ')). isEqualTo ( listOf (" a ", Ġ" b ", Ġ" c ")) ĊĠĠĠĠĠĠĠ ĠassertThat (" a \ nb \ nc ". split No Blank ('\ n ')). isEqualTo ( listOf (" a ", Ġ" b ", Ġ" c ")) ĊĠĠĠĠĠĠĠ ĠassertThat (" a \ nb \ nc \ n ĠĠ Ġ". split No Blank ('\ n ')). isEqualTo ( listOf (" a ", Ġ" b ", Ġ" c ")) ĊĠĠĠĠĠĠĠ ĠassertThat (" a \ nb \ nc \ n ĠĠ Ġ\ n ". split No Blank ('\ n ')). isEqualTo ( listOf (" a ", Ġ" b ", Ġ" c ")) ĊĠĠĠ Ġ} Ċ } Ċ