Home / Function/ test_single_quotes_to_enforce_trailing_whitespace() — tailwindcss Function Reference

test_single_quotes_to_enforce_trailing_whitespace() — tailwindcss Function Reference

Architecture documentation for the test_single_quotes_to_enforce_trailing_whitespace() function in slim.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  3deb2de2_4c0f_90cc_8046_ee5a288d9342["test_single_quotes_to_enforce_trailing_whitespace()"]
  9bff01b6_bbfb_f7ed_1b53_44928706ceb7["slim.rs"]
  3deb2de2_4c0f_90cc_8046_ee5a288d9342 -->|defined in| 9bff01b6_bbfb_f7ed_1b53_44928706ceb7
  style 3deb2de2_4c0f_90cc_8046_ee5a288d9342 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/pre_processors/slim.rs lines 213–234

    fn test_single_quotes_to_enforce_trailing_whitespace() {
        let input = r#"
            div
              'A single quote enforces trailing white space
              = 1234

            .text-red-500.text-3xl
              | This text should be red
        "#;

        let expected = r#"
            div
              'A single quote enforces trailing white space
              = 1234

             text-red-500 text-3xl
              | This text should be red
        "#;

        Slim::test(input, expected);
        Slim::test_extract_contains(input, vec!["text-red-500", "text-3xl"]);
    }

Domain

Subdomains

Frequently Asked Questions

What does test_single_quotes_to_enforce_trailing_whitespace() do?
test_single_quotes_to_enforce_trailing_whitespace() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/pre_processors/slim.rs.
Where is test_single_quotes_to_enforce_trailing_whitespace() defined?
test_single_quotes_to_enforce_trailing_whitespace() is defined in crates/oxide/src/extractor/pre_processors/slim.rs at line 213.

Analyze Your Own Codebase

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

Try Supermodel Free