diff options
Diffstat (limited to 'core/testdata')
-rw-r--r-- | core/testdata/format/website-samples/dropImport.kt | 12 | ||||
-rw-r--r-- | core/testdata/format/website-samples/dropImport.md | 22 |
2 files changed, 34 insertions, 0 deletions
diff --git a/core/testdata/format/website-samples/dropImport.kt b/core/testdata/format/website-samples/dropImport.kt new file mode 100644 index 00000000..7b8d9f4e --- /dev/null +++ b/core/testdata/format/website-samples/dropImport.kt @@ -0,0 +1,12 @@ +import samples.* +import some.* + +/** + * @sample example1 + */ +fun foo() { +} + +fun example1() { + +}
\ No newline at end of file diff --git a/core/testdata/format/website-samples/dropImport.md b/core/testdata/format/website-samples/dropImport.md new file mode 100644 index 00000000..13c8fb79 --- /dev/null +++ b/core/testdata/format/website-samples/dropImport.md @@ -0,0 +1,22 @@ +--- +title: foo - test +layout: api +--- + +<div class='api-docs-breadcrumbs'><a href="test/index">test</a> / <a href="test/foo">foo</a></div> + +# foo + +<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" markdown="1"> + +``` kotlin +import some.* +fun main(args: Array<String>) { +//sampleStart + +//sampleEnd +} +``` + +</div> |