test_js_tuple_syntax() — tailwindcss Function Reference
Architecture documentation for the test_js_tuple_syntax() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 8e7a116b_6d23_7988_2de9_3396ed9ff145["test_js_tuple_syntax()"] 322a5768_e6e0_c5e9_b1c2_7c6638e21f71["assert_extract_sorted_candidates()"] 8e7a116b_6d23_7988_2de9_3396ed9ff145 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 style 8e7a116b_6d23_7988_2de9_3396ed9ff145 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 789–818
fn test_js_tuple_syntax() {
for (input, expected) in [
// Split
(
r#"["h-[calc(100vh-(var(--spacing)*8)-(var(--spacing)*14))]",\n true],"#,
vec![
"h-[calc(100vh-(var(--spacing)*8)-(var(--spacing)*14))]",
"true",
],
),
// Same line
(
r#"["h-[calc(100vh-(var(--spacing)*8)-(var(--spacing)*14))]", true],"#,
vec![
"h-[calc(100vh-(var(--spacing)*8)-(var(--spacing)*14))]",
"true",
],
),
// Split with space in front
(
r#"[ "h-[calc(100vh-(var(--spacing)*8)-(var(--spacing)*14))]",\n true],"#,
vec![
"h-[calc(100vh-(var(--spacing)*8)-(var(--spacing)*14))]",
"true",
],
),
] {
assert_extract_sorted_candidates(input, expected);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does test_js_tuple_syntax() do?
test_js_tuple_syntax() is a function in the tailwindcss codebase.
What does test_js_tuple_syntax() call?
test_js_tuple_syntax() calls 1 function(s): assert_extract_sorted_candidates.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free