assert_extract_candidates_contains() — tailwindcss Function Reference
Architecture documentation for the assert_extract_candidates_contains() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 67c0e082_b760_8463_2a6c_c5f39c564f98["assert_extract_candidates_contains()"] 7930a87e_aad9_5f0c_8173_781513145610["test_clojure_syntax()"] 7930a87e_aad9_5f0c_8173_781513145610 -->|calls| 67c0e082_b760_8463_2a6c_c5f39c564f98 6e2d1ac5_f61b_c17d_2ffd_a9249cb4891a["test_twig_syntax()"] 6e2d1ac5_f61b_c17d_2ffd_a9249cb4891a -->|calls| 67c0e082_b760_8463_2a6c_c5f39c564f98 0109a41e_467f_bcc5_3e83_3109874009b7["test_haml_syntax()"] 0109a41e_467f_bcc5_3e83_3109874009b7 -->|calls| 67c0e082_b760_8463_2a6c_c5f39c564f98 01cd504c_5efa_a012_2a23_f6cb1294defb["test_fluid_template_syntax()"] 01cd504c_5efa_a012_2a23_f6cb1294defb -->|calls| 67c0e082_b760_8463_2a6c_c5f39c564f98 81ccf6fe_b885_27e4_5801_d89f7aa3d0cf["test_js_embedded_in_php_syntax()"] 81ccf6fe_b885_27e4_5801_d89f7aa3d0cf -->|calls| 67c0e082_b760_8463_2a6c_c5f39c564f98 6706ee6b_9877_56dd_87bd_9133948b5065["extract_sorted_candidates()"] 67c0e082_b760_8463_2a6c_c5f39c564f98 -->|calls| 6706ee6b_9877_56dd_87bd_9133948b5065 style 67c0e082_b760_8463_2a6c_c5f39c564f98 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 288–302
fn assert_extract_candidates_contains(input: &str, expected: Vec<&str>) {
let actual = extract_sorted_candidates(input);
let mut missing = vec![];
for item in &expected {
if !actual.contains(item) {
missing.push(item);
}
}
if !missing.is_empty() {
dbg!(&actual, &missing);
panic!("Missing some items");
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does assert_extract_candidates_contains() do?
assert_extract_candidates_contains() is a function in the tailwindcss codebase.
What does assert_extract_candidates_contains() call?
assert_extract_candidates_contains() calls 1 function(s): extract_sorted_candidates.
What calls assert_extract_candidates_contains()?
assert_extract_candidates_contains() is called by 5 function(s): test_clojure_syntax, test_fluid_template_syntax, test_haml_syntax, test_js_embedded_in_php_syntax, test_twig_syntax.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free