Skip to content

Commit

Permalink
A test for a simple table
Browse files Browse the repository at this point in the history
  • Loading branch information
kefirfromperm committed Feb 2, 2016
1 parent 7a10404 commit 52e7ba1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/org/kefirsf/bb/test/standard/TextileTest.java
Expand Up @@ -765,4 +765,21 @@ public void testImagesWithFormatting(){
"!{display: block;margin-left: auto;margin-right: auto;}/img/carver.jpeg!"
);
}

/**
* Test table
*/
@Test
public void testTables(){
assertProcess(
"<table>" +
"<tr><td> A </td><td> simple </td><td> table </td><td> row </td></tr>" +
"<tr><td> And </td><td> another </td><td> table </td><td> row </td></tr>" +
"<tr><td> With an </td><td> </td><td> empty </td><td> cell </td></tr>" +
"</table>",
"| A | simple | table | row |" +
"| And | another | table | row |" +
"| With an | | empty | cell |"
);
}
}

0 comments on commit 52e7ba1

Please sign in to comment.