We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e4514 commit 3e42559Copy full SHA for 3e42559
packages/frender/tests/script.rs
@@ -13,18 +13,6 @@ fn script_empty() {
13
);
14
}
15
16
-#[test]
17
-fn script_option_empty() {
18
- assert_eq!(
19
- block_on(rsx!(<script>{None::<Empty>}</script>).render_to_string()),
20
- "<script></script>"
21
- );
22
23
- block_on(rsx!(<script>{Some(Empty)}</script>).render_to_string()),
24
25
26
-}
27
-
28
#[test]
29
fn script_danger() {
30
use frender::ScriptInnerTextWronglyEncoded;
@@ -42,7 +30,7 @@ fn script_danger() {
42
assert_eq!(
43
31
block_on(
44
32
cs::script()
45
- .children(Some(ScriptInnerTextWronglyEncoded("1</script/")))
33
+ .children(ScriptInnerTextWronglyEncoded("1</script/"))
46
34
.render_to_string()
47
35
),
48
36
"<script>1</script/</script>"
0 commit comments