chore: audit all components (#2)
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
@@ -226,12 +226,6 @@ fn rows_render_virtualized_and_the_view_jumps_to_the_first_change() {
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn identical_versions_produce_no_rows() {
|
||||
let rows = diff_rows(OLD, OLD, Language::Rust);
|
||||
assert!(rows.is_empty(), "identical versions have no diff to show");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn set_versions_re_diffs() {
|
||||
let mut cx = TestAppContext::single();
|
||||
|
||||
@@ -241,13 +241,6 @@ fn nested_code_and_tables_carry_indent_and_quote() {
|
||||
));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn task_markers_carry_their_checked_state() {
|
||||
let blocks = parse_body("- [ ] todo\n- [x] done\n");
|
||||
assert_eq!(item_of(&blocks, 0).0, ListMarker::Task(false));
|
||||
assert_eq!(item_of(&blocks, 1).0, ListMarker::Task(true));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn quotes_mark_their_paragraphs_and_lists() {
|
||||
let blocks = parse_body("> quoted\n>\n> - listed\n\nplain");
|
||||
|
||||
Reference in New Issue
Block a user