From d43afc26ab291dc893846626b2cc3acdf639d1a7 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Tue, 17 Apr 2018 11:56:56 +0200 Subject: [PATCH] test removal of trailing ws in markdown --- test/runtests.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 34f4973..944af2e 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -74,6 +74,11 @@ end #' Line 48 #Line 49 Line 50 + #' + #' + #' Line 53 + #' + #' """ expected_chunks = Chunk[ MDChunk(["Line 1"]), @@ -105,6 +110,7 @@ end CodeChunk(["Line 47"], false), MDChunk(["Line 48"]), CodeChunk(["#Line 49", "Line 50"], false), + MDChunk(["Line 53"]), ] parsed_chunks = Examples.parse(content) compare_chunks(parsed_chunks, expected_chunks)