From 7546efb83afa39770be5c7b9df72edc115e59a5b Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Thu, 9 Feb 2023 03:15:52 +0100 Subject: Remove old test data (#2824) --- .../format/website-html/newLinesInSamples.html | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 core/testdata/format/website-html/newLinesInSamples.html (limited to 'core/testdata/format/website-html/newLinesInSamples.html') diff --git a/core/testdata/format/website-html/newLinesInSamples.html b/core/testdata/format/website-html/newLinesInSamples.html deleted file mode 100644 index 7e379c68..00000000 --- a/core/testdata/format/website-html/newLinesInSamples.html +++ /dev/null @@ -1,23 +0,0 @@ -
test / foo
-

foo

-
-
-
- -
fun foo(): Unit
-

-
-fun main(args: Array<String>) {
-//sampleStart
-val words = listOf("a", "abc", "ab", "def", "abcd")
-val byLength = words.groupBy { it.length }
-
-println(byLength.keys) // [1, 3, 2, 4]
-println(byLength.values) // [[a], [abc, def], [ab], [abcd]]
-
-val mutableByLength: MutableMap<Int, MutableList<String>> = words.groupByTo(mutableMapOf()) { it.length }
-// same content as in byLength map, but the map is mutable
-println("mutableByLength == byLength is ${mutableByLength == byLength}") // true
-//sampleEnd
-}
-
-- cgit