feat(elements): planning element

This commit is contained in:
PoiScript 2019-06-27 13:20:21 +08:00
parent 74fd77dba2
commit 2cba072245
10 changed files with 341 additions and 256 deletions

View file

@ -6,8 +6,7 @@ macro_rules! test_suite {
#[test]
fn $name() {
let mut writer = Vec::new();
let mut org = Org::new($content);
org.parse();
let org = Org::parse($content);
org.html_default(&mut writer).unwrap();
let string = String::from_utf8(writer).unwrap();
assert_eq!(string, $expected);