From 68325365f592b4e7194bbbfe9893e3328fb57f53 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sun, 24 Nov 2024 20:56:51 +0100 Subject: [PATCH] Fix typo, test in test-pandoc --- test/test-pandoc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-pandoc.lua b/test/test-pandoc.lua index 7b3cd16..acfbabe 100644 --- a/test/test-pandoc.lua +++ b/test/test-pandoc.lua @@ -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, @@ -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(