assert_extract_sorted_candidates() — tailwindcss Function Reference
Architecture documentation for the assert_extract_sorted_candidates() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 322a5768_e6e0_c5e9_b1c2_7c6638e21f71["assert_extract_sorted_candidates()"] 137023d6_6f03_a715_c385_b938d62e9dd5["test_candidates_extraction()"] 137023d6_6f03_a715_c385_b938d62e9dd5 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 383f6944_a920_96a3_6ae2_4879eeaea17e["test_extractor_extract_candidates()"] 383f6944_a920_96a3_6ae2_4879eeaea17e -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 9343eebc_392c_614b_fd1f_0b61ee73273f["test_ruby_syntax()"] 9343eebc_392c_614b_fd1f_0b61ee73273f -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 f77c12ed_c119_722f_3dc5_a681c50c0d8f["test_pug_syntax()"] f77c12ed_c119_722f_3dc5_a681c50c0d8f -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 8af87099_e077_d4e0_f0c3_91759383bd07["test_slim_syntax()"] 8af87099_e077_d4e0_f0c3_91759383bd07 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 0aee320e_3153_85c6_6e1c_8b7baf0f59a4["test_csharp_syntax()"] 0aee320e_3153_85c6_6e1c_8b7baf0f59a4 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 7260be76_b2d0_7995_b77d_5b2f2d2cccde["test_gleam_syntax()"] 7260be76_b2d0_7995_b77d_5b2f2d2cccde -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 9cf882d0_cd37_6284_d5e5_b989acbbe754["test_overlapping_candidates()"] 9cf882d0_cd37_6284_d5e5_b989acbbe754 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 62675fc7_a992_51d3_c2bc_c33bbd6e1591["test_js_syntax()"] 62675fc7_a992_51d3_c2bc_c33bbd6e1591 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 8e7a116b_6d23_7988_2de9_3396ed9ff145["test_js_tuple_syntax()"] 8e7a116b_6d23_7988_2de9_3396ed9ff145 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 68d198cb_a5c9_e3cf_4c3b_4db40cde33b8["test_angular_binding_syntax()"] 68d198cb_a5c9_e3cf_4c3b_4db40cde33b8 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 c7cfe03e_46cb_6381_c088_27ccec6b7b73["test_angular_binding_attribute_syntax()"] c7cfe03e_46cb_6381_c088_27ccec6b7b73 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 56956a5d_1765_b81b_693f_1b563e6e4430["test_svelte_shorthand_syntax()"] 56956a5d_1765_b81b_693f_1b563e6e4430 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 00f73bc2_588a_daf0_d5cf_64fc9b57d9ef["test_arbitrary_container_queries_syntax()"] 00f73bc2_588a_daf0_d5cf_64fc9b57d9ef -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 style 322a5768_e6e0_c5e9_b1c2_7c6638e21f71 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 273–286
fn assert_extract_sorted_candidates(input: &str, expected: Vec<&str>) {
let mut actual = extract_sorted_candidates(input);
actual.sort();
actual.dedup();
let mut expected = expected;
expected.sort();
expected.dedup();
if actual != expected {
dbg!(&input);
}
assert_eq!(actual, expected);
}
Domain
Subdomains
Called By
- test_angular_binding_attribute_syntax()
- test_angular_binding_syntax()
- test_arbitrary_container_queries_syntax()
- test_arbitrary_variable_with_data_type()
- test_candidates_extraction()
- test_classes_containing_number_followed_by_dash_or_underscore()
- test_csharp_syntax()
- test_extractor_extract_candidates()
- test_gleam_syntax()
- test_js_syntax()
- test_js_tuple_syntax()
- test_leptos_rs_view_class_colon_syntax()
- test_overlapping_candidates()
- test_pug_syntax()
- test_ruby_syntax()
- test_slim_syntax()
- test_svelte_shorthand_syntax()
Source
Frequently Asked Questions
What does assert_extract_sorted_candidates() do?
assert_extract_sorted_candidates() is a function in the tailwindcss codebase.
What does assert_extract_sorted_candidates() call?
assert_extract_sorted_candidates() calls 1 function(s): extract_sorted_candidates.
What calls assert_extract_sorted_candidates()?
assert_extract_sorted_candidates() is called by 17 function(s): test_angular_binding_attribute_syntax, test_angular_binding_syntax, test_arbitrary_container_queries_syntax, test_arbitrary_variable_with_data_type, test_candidates_extraction, test_classes_containing_number_followed_by_dash_or_underscore, test_csharp_syntax, test_extractor_extract_candidates, and 9 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free