From 20b3b0d018248cbde0c509603c52c36445d996f0 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Mon, 27 Feb 2017 18:40:36 +0300 Subject: Fix loosing of line breaks inside import list for kotlin-website-samples format --- .../format/website-samples/newLinesInImportList.kt | 12 +++++++++++ .../format/website-samples/newLinesInImportList.md | 24 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 core/testdata/format/website-samples/newLinesInImportList.kt create mode 100644 core/testdata/format/website-samples/newLinesInImportList.md (limited to 'core/testdata') diff --git a/core/testdata/format/website-samples/newLinesInImportList.kt b/core/testdata/format/website-samples/newLinesInImportList.kt new file mode 100644 index 00000000..836d9f6f --- /dev/null +++ b/core/testdata/format/website-samples/newLinesInImportList.kt @@ -0,0 +1,12 @@ +import same.* +import some.* + +/** + * @sample example1 + */ +fun foo() { +} + +fun example1() { + +} \ No newline at end of file diff --git a/core/testdata/format/website-samples/newLinesInImportList.md b/core/testdata/format/website-samples/newLinesInImportList.md new file mode 100644 index 00000000..27d796f8 --- /dev/null +++ b/core/testdata/format/website-samples/newLinesInImportList.md @@ -0,0 +1,24 @@ +--- +title: foo - test +layout: api +--- + +
test / foo
+ +# foo + +
fun foo(): Unit
+
+ +``` kotlin +import same.* +import some.* + +fun main(args: Array) { +//sampleStart + +//sampleEnd +} +``` + +
-- cgit