update tests
This commit is contained in:
1 parent
884723831b
commit
8c3c75cab6
1 file changed
+12
-6
@@ -16,7 +16,8 @@ fn render_basic() {
|
|||||||
let dom = VirtualDom::new(Base);
|
let dom = VirtualDom::new(Base);
|
||||||
let static_vnodes = rsx!(div{"hello world"});
|
let static_vnodes = rsx!(div{"hello world"});
|
||||||
let location = CodeLocation {
|
let location = CodeLocation {
|
||||||
file: String::new(),
|
file_path: String::new(),
|
||||||
|
crate_path: String::new(),
|
||||||
line: 0,
|
line: 0,
|
||||||
column: 0,
|
column: 0,
|
||||||
};
|
};
|
||||||
@@ -61,7 +62,8 @@ fn render_nested() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
let location = CodeLocation {
|
let location = CodeLocation {
|
||||||
file: String::new(),
|
file_path: String::new(),
|
||||||
|
crate_path: String::new(),
|
||||||
line: 1,
|
line: 1,
|
||||||
column: 0,
|
column: 0,
|
||||||
};
|
};
|
||||||
@@ -112,7 +114,8 @@ fn render_component() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
let location = CodeLocation {
|
let location = CodeLocation {
|
||||||
file: String::new(),
|
file_path: String::new(),
|
||||||
|
crate_path: String::new(),
|
||||||
line: 2,
|
line: 2,
|
||||||
column: 0,
|
column: 0,
|
||||||
};
|
};
|
||||||
@@ -163,7 +166,8 @@ fn render_iterator() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
let location = CodeLocation {
|
let location = CodeLocation {
|
||||||
file: String::new(),
|
file_path: String::new(),
|
||||||
|
crate_path: String::new(),
|
||||||
line: 3,
|
line: 3,
|
||||||
column: 0,
|
column: 0,
|
||||||
};
|
};
|
||||||
@@ -216,7 +220,8 @@ fn render_captured_variable() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
let location = CodeLocation {
|
let location = CodeLocation {
|
||||||
file: String::new(),
|
file_path: String::new(),
|
||||||
|
crate_path: String::new(),
|
||||||
line: 4,
|
line: 4,
|
||||||
column: 0,
|
column: 0,
|
||||||
};
|
};
|
||||||
@@ -267,7 +272,8 @@ fn render_listener() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
let location = CodeLocation {
|
let location = CodeLocation {
|
||||||
file: String::new(),
|
file_path: String::new(),
|
||||||
|
crate_path: String::new(),
|
||||||
line: 5,
|
line: 5,
|
||||||
column: 0,
|
column: 0,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user