Skip to content

Commit 56e15c0

Browse files
committed
Do not strip code
This make it work with `;\n` test for output supression.
1 parent 83acf8f commit 56e15c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/NarrativeTest.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ function parsejlrepl!(stack::Vector{TextBlock})
608608
function savecode!(loc)
609609
data = consumebuf!(buf)
610610
if data !== nothing
611-
push!(code, TextBlock(loc, strip(data)))
611+
push!(code, TextBlock(loc, data))
612612
else
613613
push!(code, TextBlock(loc, ""))
614614
end

0 commit comments

Comments
 (0)