Skip to content

Commit e594c86

Browse files
committed
replace \r\n with \n
1 parent 6a1df6a commit e594c86

File tree

1 file changed

+2
-2
lines changed
  • crates/oxide/src/extractor/pre_processors

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ mod tests {
425425
let actual = Haml::extract_annotated(include_bytes!("./test-fixtures/haml/src-17051.haml"));
426426
let expected = include_str!("./test-fixtures/haml/dst-17051.haml");
427427

428-
assert_eq!(actual, expected);
428+
assert_eq!(actual.replace("\r\n", "\n"), expected.replace("\r\n", "\n"));
429429
}
430430

431431
// https://github.com/tailwindlabs/tailwindcss/issues/17813
@@ -434,7 +434,7 @@ mod tests {
434434
let actual = Haml::extract_annotated(include_bytes!("./test-fixtures/haml/src-17813.haml"));
435435
let expected = include_str!("./test-fixtures/haml/dst-17813.haml");
436436

437-
assert_eq!(actual, expected);
437+
assert_eq!(actual.replace("\r\n", "\n"), expected.replace("\r\n", "\n"));
438438
}
439439

440440
#[test]

0 commit comments

Comments
 (0)