Skip to content

Commit 13b6af0

Browse files
committed
add failing test
1 parent e57a2f5 commit 13b6af0

File tree

1 file changed

+10
-0
lines changed
  • crates/oxide/src/extractor/pre_processors

1 file changed

+10
-0
lines changed

crates/oxide/src/extractor/pre_processors/clojure.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,14 @@ mod tests {
156156

157157
Clojure::test_extract_contains(input, vec!["hover:flex", "px-1.5"]);
158158
}
159+
160+
// https://github.com/tailwindlabs/tailwindcss/issues/17760
161+
#[test]
162+
fn test_extraction_of_classes_with_dots() {
163+
let input = r#"
164+
($ :div {:class [:flex :gap-1.5 :p-1]} …)
165+
"#;
166+
167+
Clojure::test_extract_contains(input, vec!["flex", "gap-1.5", "p-1"]);
168+
}
159169
}

0 commit comments

Comments
 (0)