Skip to content

Commit 6832536

Browse files
committed
Fix typo, test in test-pandoc
1 parent 9e61834 commit 6832536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test-pandoc.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ return {
7979
attr = Attr(),
8080
body = List{
8181
Row{Cell'body cell 1', Cell'body cell 2'},
82-
Row{Cell('hi')}},
82+
Row{Cell('hi')},
8383
},
8484
head = List{},
8585
row_head_columns = 0,
@@ -88,7 +88,7 @@ return {
8888
local tbl = Table(caption, colspecs, thead, {tbody}, tfoot)
8989
print(tbl.bodies)
9090
local expected_body = tbody
91-
expected_body.body[2][2]:insert(Cell{})
91+
expected_body.body[2].cells:insert(Cell{})
9292
local doc = Pandoc{tbl}
9393
assert.are_same(
9494
Table(

0 commit comments

Comments
 (0)