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
  8f120ee4_4d33_8cae_3322_3fbc162aedc8["test_single_quotes_to_enforce_trailing_whitespace()"]
  728c6622_d993_001c_2e5b_541b85f1c521["slim.rs"]
  8f120ee4_4d33_8cae_3322_3fbc162aedc8 -->|defined in| 728c6622_d993_001c_2e5b_541b85f1c521
  style 8f120ee4_4d33_8cae_3322_3fbc162aedc8 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