Browse Source

test removal of trailing ws in markdown

pull/5/head
Fredrik Ekre 8 years ago
parent
commit
d43afc26ab
  1. 6
      test/runtests.jl

6
test/runtests.jl

@ -74,6 +74,11 @@ end
#' Line 48 #' Line 48
#Line 49 #Line 49
Line 50 Line 50
#'
#'
#' Line 53
#'
#'
""" """
expected_chunks = Chunk[ expected_chunks = Chunk[
MDChunk(["Line 1"]), MDChunk(["Line 1"]),
@ -105,6 +110,7 @@ end
CodeChunk(["Line 47"], false), CodeChunk(["Line 47"], false),
MDChunk(["Line 48"]), MDChunk(["Line 48"]),
CodeChunk(["#Line 49", "Line 50"], false), CodeChunk(["#Line 49", "Line 50"], false),
MDChunk(["Line 53"]),
] ]
parsed_chunks = Examples.parse(content) parsed_chunks = Examples.parse(content)
compare_chunks(parsed_chunks, expected_chunks) compare_chunks(parsed_chunks, expected_chunks)

Loading…
Cancel
Save