You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@test doc1.chunks[1].output =="Error: ArgumentError: Module NonExisting not found in current path.\nRun `Pkg.add(\"NonExisting\")` to install the NonExisting package.\n"
28
+
@test doc1.chunks[2].output =="Error: syntax: incomplete: premature end of input\n"
29
+
@test doc1.chunks[3].output =="\njulia> plot(x)\nError: UndefVarError: plot not defined\n\njulia> y = 10\n10\n\njulia> print(y\nError: syntax: incomplete: premature end of input\n"
@test E.msg =="Module NonExisting not found in current path.\nRun `Pkg.add(\"NonExisting\")` to install the NonExisting package."
36
+
end
37
+
38
+
doc = Weave.WeaveDoc("dummy1.jmd", p1, Dict())
39
+
doc3 = Weave.run(doc, doctype ="md2html")
40
+
@test doc3.chunks[1].rich_output =="<pre class=\"julia-error\">\nERROR: ArgumentError: Module NonExisting not found in current path.\nRun `Pkg.add("NonExisting")` to install the NonExisting package.\n</pre>\n"
41
+
@test doc3.chunks[2].rich_output =="<pre class=\"julia-error\">\nERROR: syntax: incomplete: premature end of input\n</pre>\n"
42
+
@test doc3.chunks[3].output =="\njulia> plot(x)\nError: UndefVarError: plot not defined\n\njulia> y = 10\n10\n\njulia> print(y\nError: syntax: incomplete: premature end of input\n"
0 commit comments