aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/website-html/newLinesInSamples.html
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2023-02-09 03:15:52 +0100
committerGitHub <noreply@github.com>2023-02-09 03:15:52 +0100
commit7546efb83afa39770be5c7b9df72edc115e59a5b (patch)
tree0066c2b9e833e7dd7fd8cfafc3a1d05d15f40000 /core/testdata/format/website-html/newLinesInSamples.html
parent683f6bb418bada9c90d2ffbd5040b3968e1c3522 (diff)
downloaddokka-7546efb83afa39770be5c7b9df72edc115e59a5b.tar.gz
dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.tar.bz2
dokka-7546efb83afa39770be5c7b9df72edc115e59a5b.zip
Remove old test data (#2824)
Diffstat (limited to 'core/testdata/format/website-html/newLinesInSamples.html')
-rw-r--r--core/testdata/format/website-html/newLinesInSamples.html23
1 files changed, 0 insertions, 23 deletions
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 @@
-<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./foo.html">foo</a></div>
-<h1>foo</h1>
-<div class="node-page-main" data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div>
-<div class="tags__tag kotlin-version"></div>
-</div>
-<a name="$foo()"></a>
-<div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></div>
-<div class="sample" data-min-compiler-version="1.3"><pre><code class="lang-kotlin">
-
-fun main(args: Array&lt;String&gt;) {
-//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&lt;Int, MutableList&lt;String&gt;&gt; = words.groupByTo(mutableMapOf()) { it.length }
-// same content as in byLength map, but the map is mutable
-println("mutableByLength == byLength is ${mutableByLength == byLength}") // true
-//sampleEnd
-}</code></pre></div>
-</div>