Browse Source

testfix

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

4
test/runtests.jl

@ -1479,9 +1479,7 @@ end end
@test default_codefence == pick_codefence(Literate.DocumenterFlavor(), true, "testname") @test default_codefence == pick_codefence(Literate.DocumenterFlavor(), true, "testname")
documenter_codefence = ("````@example testname" => "````") documenter_codefence = ("````@example testname" => "````")
@test documenter_codefence == pick_codefence(Literate.DocumenterFlavor(), false, "testname") @test documenter_codefence == pick_codefence(Literate.DocumenterFlavor(), false, "testname")
let expected_exception=ErrorException("QuartoFlavor does not support argument execute=true!") @test ("```{julia}" => "```") == pick_codefence(Literate.QuartoFlavor(), true, "testname")
@test_throws expected_exception pick_codefence(Literate.QuartoFlavor(), true, "testname")
end
@test ("```{julia}" => "```") == pick_codefence(Literate.QuartoFlavor(), false, "testname") @test ("```{julia}" => "```") == pick_codefence(Literate.QuartoFlavor(), false, "testname")
# Misc default configs # Misc default configs

Loading…
Cancel
Save