Skip to content

Commit c9a0530

Browse files
authored
Remove strip and test for newline.
1 parent b704034 commit c9a0530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dsl/dynamic_dsl.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ end
540540
return doc.text[1]
541541
else
542542
# Handle pre-Julia 1.11 behavior of @doc
543-
return strip(string(doc))
543+
return string(doc)
544544
end
545545
end
546546

@@ -551,7 +551,7 @@ end
551551
return x + 1
552552
end
553553

554-
@test doc_to_str(@doc(foo)) == "my documentation"
554+
@test doc_to_str(@doc(foo)) == "my documentation\n"
555555

556556
end
557557

0 commit comments

Comments
 (0)