瀏覽代碼

Fix conformance test

Marcin Ziąbek 1 周之前
父節點
當前提交
0c06fe4488
共有 1 個文件被更改,包括 11 次插入14 次删除
  1. 11 14
      Source/QuestPDF.ConformanceTests/Table/TableWithFooterTests.cs

+ 11 - 14
Source/QuestPDF.ConformanceTests/Table/TableWithFooterTests.cs

@@ -85,23 +85,20 @@ internal class TableWithFooterTests : ConformanceTestBase
                     }
                 });
                 
-                table.Child("TFoot", footer =>
+                table.Child("TFoot", tfoot =>
                 {
-                    footer.Child("TR", tfoot =>
+                    tfoot.Child("TR", row =>
                     {
-                        tfoot.Child("TR", row =>
-                        {
-                            row.Child("TD", td => td.Child("P"));
-                            row.Child("TD", td => td.Child("P"));
-                            row.Child("TD", td => td.Child("P"));
-                        });
+                        row.Child("TD", td => td.Child("P"));
+                        row.Child("TD", td => td.Child("P"));
+                        row.Child("TD", td => td.Child("P"));
+                    });
                         
-                        tfoot.Child("TR", row =>
-                        {
-                            row.Child("TD", td => td.Child("P"));
-                            row.Child("TD", td => td.Child("P"));
-                            row.Child("TD", td => td.Child("P"));
-                        });
+                    tfoot.Child("TR", row =>
+                    {
+                        row.Child("TD", td => td.Child("P"));
+                        row.Child("TD", td => td.Child("P"));
+                        row.Child("TD", td => td.Child("P"));
                     });
                 });
             });