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 c09b3ad8_e61d_4dcb_3819_2280661fbc5d["assert_extract_sorted_candidates()"] 39f2c8b8_6d09_3c20_0c68_c2ff64acf8f3["test_candidates_extraction()"] 39f2c8b8_6d09_3c20_0c68_c2ff64acf8f3 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 80415dd0_2b76_9830_2a75_27b6ef8601ee["test_extractor_extract_candidates()"] 80415dd0_2b76_9830_2a75_27b6ef8601ee -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 8afc647f_cc99_91b0_c634_c37cd100672e["test_ruby_syntax()"] 8afc647f_cc99_91b0_c634_c37cd100672e -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 9b68ce4d_bef4_7f5b_de16_6071ea8839c5["test_pug_syntax()"] 9b68ce4d_bef4_7f5b_de16_6071ea8839c5 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 11aae42e_1ab0_0f21_ead6_47c647489a76["test_slim_syntax()"] 11aae42e_1ab0_0f21_ead6_47c647489a76 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 10bea763_874f_4c40_c6a8_053b55991746["test_csharp_syntax()"] 10bea763_874f_4c40_c6a8_053b55991746 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d d46dedfd_6b19_41a2_09cb_7bd796a73299["test_gleam_syntax()"] d46dedfd_6b19_41a2_09cb_7bd796a73299 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d c1168408_c5a1_4b3a_89a7_047b729fe1e1["test_overlapping_candidates()"] c1168408_c5a1_4b3a_89a7_047b729fe1e1 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d a5dffcdb_1512_c212_ca5a_2ac097b9778f["test_js_syntax()"] a5dffcdb_1512_c212_ca5a_2ac097b9778f -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 76f468b6_f47d_ff8f_4c5a_ccde03922816["test_js_tuple_syntax()"] 76f468b6_f47d_ff8f_4c5a_ccde03922816 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 6876114a_1b40_00b5_db45_129c05bc6fdb["test_angular_binding_syntax()"] 6876114a_1b40_00b5_db45_129c05bc6fdb -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d e912d4ae_1a66_ba02_355d_54d9dcd5ed15["test_angular_binding_attribute_syntax()"] e912d4ae_1a66_ba02_355d_54d9dcd5ed15 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 30fb41a8_c9da_7faa_e0ac_447d1f6fda5d["test_svelte_shorthand_syntax()"] 30fb41a8_c9da_7faa_e0ac_447d1f6fda5d -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d 8e32757e_deb7_8b2a_269a_a13eaca527b8["test_arbitrary_container_queries_syntax()"] 8e32757e_deb7_8b2a_269a_a13eaca527b8 -->|calls| c09b3ad8_e61d_4dcb_3819_2280661fbc5d style c09b3ad8_e61d_4dcb_3819_2280661fbc5d 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