Browse Source

fix tests

pull/200/head
Fredrik Ekre 2 years ago
parent
commit
5d02038299
No known key found for this signature in database
GPG Key ID: DE82E6D5E364C0A2
  1. 4
      test/runtests.jl

4
test/runtests.jl

@ -803,8 +803,8 @@ end end @@ -803,8 +803,8 @@ end end
# flavor = QuartoFlavor()
# execution of Quarto markdown is not allowed
let expected_error = ErrorException("QuartoFlavor does not support argument execute=true!")
@test_throws expected_error Literate.markdown("quarto.jl",flavor=Literate.QuartoFlavor(),execute=true)
let expected_error = ArgumentError("QuartoFlavor does not support argument `execute = true`.")
@test_throws expected_error Literate.markdown("quarto.jl", flavor = Literate.QuartoFlavor(), execute = true)
end
Literate.markdown(inputfile, outdir, flavor = Literate.QuartoFlavor(),execute=false)
markdown = read(joinpath(outdir, "inputfile.qmd"), String)

Loading…
Cancel
Save