Add a test showing we're not handling table formulas.

This commit is contained in:
Tom Alexander
2023-09-08 22:42:24 -04:00
parent 0105b49d0d
commit cc56b79683
2 changed files with 16 additions and 0 deletions

View File

@@ -1075,6 +1075,10 @@ fn compare_table<'s>(
Ok(_) => {}
};
// TODO: Compare :type :tblfm :value
//
// :tblfm is a list () filled with quoted strings containing the value for any tblfm keywords at the end of the table.
for (emacs_child, rust_child) in children.iter().skip(2).zip(rust.children.iter()) {
child_status.push(compare_table_row(source, emacs_child, rust_child)?);
}
@@ -1112,6 +1116,10 @@ fn compare_table_row<'s>(
Ok(_) => {}
};
// TODO: Compare :type
//
// :type is an unquoted atom of either standard or rule
for (emacs_child, rust_child) in children.iter().skip(2).zip(rust.children.iter()) {
child_status.push(compare_table_cell(source, emacs_child, rust_child)?);
}