Home / Function/ it_should_expand_a_complex_example() — tailwindcss Function Reference

it_should_expand_a_complex_example() — tailwindcss Function Reference

Architecture documentation for the it_should_expand_a_complex_example() function in glob.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  4e52ae77_9cb3_eeda_0f41_4a06f80cd14a["it_should_expand_a_complex_example()"]
  bb299b16_f66b_04f3_7212_f4ec2939c6ee["create_folders()"]
  4e52ae77_9cb3_eeda_0f41_4a06f80cd14a -->|calls| bb299b16_f66b_04f3_7212_f4ec2939c6ee
  3ae15a03_28aa_2117_2ea0_09d75795dc8b["test()"]
  4e52ae77_9cb3_eeda_0f41_4a06f80cd14a -->|calls| 3ae15a03_28aa_2117_2ea0_09d75795dc8b
  style 4e52ae77_9cb3_eeda_0f41_4a06f80cd14a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/glob.rs lines 564–600

    fn it_should_expand_a_complex_example() {
        let base = create_folders(&[
            "projects/a/b/d/e/g",
            "projects/a/b/d/f/g",
            "projects/a/c/d/e/g",
            "projects/a/c/d/f/g",
        ]);

        let actual = test(
            &base,
            &[GlobEntry {
                base: "/projects".to_string(),
                pattern: "a/{b,c}/d/{e,f}/g/*.html".to_string(),
            }],
        );

        let expected = vec![
            GlobEntry {
                base: "/projects/a/b/d/e/g".to_string(),
                pattern: "*.html".to_string(),
            },
            GlobEntry {
                base: "/projects/a/b/d/f/g".to_string(),
                pattern: "*.html".to_string(),
            },
            GlobEntry {
                base: "/projects/a/c/d/e/g".to_string(),
                pattern: "*.html".to_string(),
            },
            GlobEntry {
                base: "/projects/a/c/d/f/g".to_string(),
                pattern: "*.html".to_string(),
            },
        ];

        assert_eq!(actual, expected,);
    }

Domain

Subdomains

Frequently Asked Questions

What does it_should_expand_a_complex_example() do?
it_should_expand_a_complex_example() is a function in the tailwindcss codebase.
What does it_should_expand_a_complex_example() call?
it_should_expand_a_complex_example() calls 2 function(s): create_folders, test.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free