Changeset 582
- Timestamp:
- 03/10/09 13:35:20 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/test/unit/index.html
r540 r582 16 16 * File Authors: 17 17 * Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg) 18 * Wes Winham 18 19 --> 19 20 <html> … … 84 85 }); 85 86 87 test("Shouldn't remove empty td elements", function() { 88 expect(1); 89 var expected = '<table><tr><td>Cell1</td><td></td></tr></table>'; 90 var empty_cell = '<table><tr><td>Cell1</td><td></td></tr></table>'; 91 equals( jQuery.wymeditors(0).parser.parse(empty_cell), expected); 92 }); 93 86 94 function runPostInitTests() { 87 95 module("Post Init"); … … 97 105 jQuery.wymeditors(0).paste( testText2 ); 98 106 equals( jQuery.trim( jQuery.wymeditors(0).xhtml() ), testText1 + '<p>' + testText2 + '<\/p>' ); 99 107 100 108 }); 101 109 };
Note: See TracChangeset
for help on using the changeset viewer.