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 b71f5ed commit a13998eCopy full SHA for a13998e
1 file changed
libs/extractor/src/css_utils.rs
@@ -975,6 +975,7 @@ mod tests {
975
#[case("`width: ${func(\"hello\\nworld\")}px;`", vec![("width", "`${func(\"hello\\nworld\")}px`", None)])]
976
#[case("`width: ${func('test\\'quote')}px;`", vec![("width", "`${func(\"test'quote\")}px`", None)])]
977
#[case("`width: ${(props)=>props.b ? \"hello\\\"world\" : \"test\"}px;`", vec![("width", "`${((props)=>props.b ? 'hello\\\"world' : 'test')(rest)}px`", None)])]
978
+ #[case("`width: ${(props)=>props.b ? \"hello\\\"world\\\"more\" : \"test\"}px;`", vec![("width", "`${((props)=>props.b ? 'hello\\\"world\\\"more' : 'test')(rest)}px`", None)])]
979
// wrong cases
980
#[case(
981
"`@media (min-width: 768px) {
0 commit comments