Skip to content

Commit ce5113c

Browse files
pauljervispivovarit
authored andcommitted
Bael 1404 kotlin (eugenp#4033)
* add article files * update kotlin version in pom * IntelliJ added binary folder to all the .gitignores * IntelliJ added binary folder to all the .gitignores * update test function names * Expand tests and add more code for more meaningful content within the article. Remove core-kotlin from parent pom again for eclipse to work. * adjust for issues with custom-pmd * rename test * Revert "IntelliJ added binary folder to all the .gitignores" This reverts commit 0850a2a. * Revert "IntelliJ added binary folder to all the .gitignores" This reverts commit 2b17cf2. * renamed test to match article
1 parent d7eaa00 commit ce5113c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core-kotlin/src/test/kotlin/com/baeldung/filter/DistinctTest.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ internal class DistinctTest {
77
data class SmallClass(val key: String, val num: Int)
88

99
@Test
10-
fun givenArrayOfSomeDuplicateValues_whenApplyingDistinct_thenReturnListOfNoDuplicateValues() {
10+
fun whenApplyingDistinct_thenReturnListOfNoDuplicateValues() {
1111
val array = arrayOf(1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 5, 6, 7, 8, 9)
1212
val result = array.distinct()
1313
val expected = listOf(1, 2, 3, 4, 5, 6, 7, 8, 9)

0 commit comments

Comments
 (0)