Skip to content

Commit

Permalink
Fix typo, test in test-pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Nov 24, 2024
1 parent 9e61834 commit 6832536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test-pandoc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ return {
attr = Attr(),
body = List{
Row{Cell'body cell 1', Cell'body cell 2'},
Row{Cell('hi')}},
Row{Cell('hi')},
},
head = List{},
row_head_columns = 0,
Expand All @@ -88,7 +88,7 @@ return {
local tbl = Table(caption, colspecs, thead, {tbody}, tfoot)
print(tbl.bodies)
local expected_body = tbody
expected_body.body[2][2]:insert(Cell{})
expected_body.body[2].cells:insert(Cell{})
local doc = Pandoc{tbl}
assert.are_same(
Table(
Expand Down

0 comments on commit 6832536

Please sign in to comment.