test_works_with_utf8_special_character_paths() — tailwindcss Function Reference
Architecture documentation for the test_works_with_utf8_special_character_paths() function in scanner.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD dbd9d572_9385_3d5e_faa0_483559038df1["test_works_with_utf8_special_character_paths()"] 340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"] dbd9d572_9385_3d5e_faa0_483559038df1 -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d a53d0655_c789_b0d9_0c48_cfd60da7194b["scan_with_globs()"] dbd9d572_9385_3d5e_faa0_483559038df1 -->|calls| a53d0655_c789_b0d9_0c48_cfd60da7194b style dbd9d572_9385_3d5e_faa0_483559038df1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/tests/scanner.rs lines 1626–1649
fn test_works_with_utf8_special_character_paths() {
let ScanResult {
candidates,
files,
globs,
normalized_sources,
} = scan_with_globs(
&[
("src/💩.js", "content-['src/💩.js']"),
("src/🤦♂️.tsx", "content-['src/🤦♂️.tsx']"),
("src/🤦♂️/foo.tsx", "content-['src/🤦♂️/foo.tsx']"),
],
vec!["@source '**/*'", "@source not 'src/🤦♂️'"],
);
assert_eq!(
candidates,
vec!["content-['src/💩.js']", "content-['src/🤦♂️.tsx']"]
);
assert_eq!(files, vec!["src/💩.js", "src/🤦♂️.tsx"]);
assert_eq!(globs, vec!["*", "src/*/*.{aspx,astro,cjs,cts,eex,erb,gjs,gts,haml,handlebars,hbs,heex,html,jade,js,jsx,liquid,md,mdx,mjs,mts,mustache,njk,nunjucks,php,pug,py,razor,rb,rhtml,rs,slim,svelte,tpl,ts,tsx,twig,vue}"]);
assert_eq!(normalized_sources, vec!["**/*"]);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_works_with_utf8_special_character_paths() do?
test_works_with_utf8_special_character_paths() is a function in the tailwindcss codebase, defined in crates/oxide/tests/scanner.rs.
Where is test_works_with_utf8_special_character_paths() defined?
test_works_with_utf8_special_character_paths() is defined in crates/oxide/tests/scanner.rs at line 1626.
What does test_works_with_utf8_special_character_paths() call?
test_works_with_utf8_special_character_paths() calls 1 function(s): scan_with_globs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free