Browse Source

Fix conformance test

Marcin Ziąbek 1 week ago
parent
commit
0c06fe4488
1 changed files with 11 additions and 14 deletions
  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"));
                     });
                     });
                 });
                 });
             });
             });