You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: reconcile.rs
    path of file: ./repos/sycamore/packages/sycamore/tests/web
    
    the code of the file until where you have to start completion: //! Tests for [`reconcile_fragments`].

#![allow
    
fn reconcile_append_nodes() {
    let nodes = [
        DomNode::text_node("1".into()),
        DomNode::text_node("2".into()),
        DomNode::text_node("3".into()),
    ];
    let parent = DomNode::element::<html::div>();
    let child_nodes = nodes[..2].to_vec();

    for node in &child_nodes {
        parent.append_child(node);
    }
    assert_text_content!(parent.to_web_sys(), "12");

    reconcile_fragments(&parent, &mut child_nodes.clone(), &nodes);
    assert_text_content!(parent.to_web_sys(), "123");
}