Skip to content

Commit

Permalink
Fix CI and tests removing Manifest.toml and allowing Pandoc API versi…
Browse files Browse the repository at this point in the history
…on in range (#24)

* Delete Manifest.toml and untrack it

* Update test for minor versions of pandoc api
  • Loading branch information
iagobaapellaniz authored Oct 11, 2024
1 parent 8bb9663 commit 91aa873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 188 deletions.
185 changes: 0 additions & 185 deletions Manifest.toml

This file was deleted.

6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Document = Pandoc.Document
""",
Document,
)
@test doc.pandoc_api_version == v"1.23"
@test v"1.23" <= doc.pandoc_api_version < v"1.24"

doc = Document(p"./data/example.md")
@test doc.pandoc_api_version == v"1.23"
@test v"1.23" <= doc.pandoc_api_version < v"1.24"
@test length(doc.blocks) == 548
JSON3.read(JSON3.write(doc), Dict)

doc = Document(p"./data/example.txt")
@test doc.pandoc_api_version == v"1.23"
@test v"1.23" <= doc.pandoc_api_version < v"1.24"
@test length(doc.blocks) == 1114
JSON3.read(JSON3.write(doc), Dict)
end

0 comments on commit 91aa873

Please sign in to comment.