File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ impl Haml {
341
341
mod tests {
342
342
use super :: Haml ;
343
343
use crate :: extractor:: pre_processors:: pre_processor:: PreProcessor ;
344
- // use pretty_assertions::assert_eq;
344
+ use pretty_assertions:: assert_eq;
345
345
346
346
#[ test]
347
347
fn test_haml_pre_processor ( ) {
@@ -425,7 +425,7 @@ mod tests {
425
425
let actual = Haml :: extract_annotated ( include_bytes ! ( "./test-fixtures/haml/src-17051.haml" ) ) ;
426
426
let expected = include_str ! ( "./test-fixtures/haml/dst-17051.haml" ) ;
427
427
428
- assert_eq ! ( actual, expected) ;
428
+ assert_eq ! ( actual. replace ( " \r \n " , " \n " ) , expected. replace ( " \r \n " , " \n " ) ) ;
429
429
}
430
430
431
431
// https://github.com/tailwindlabs/tailwindcss/issues/17813
@@ -434,7 +434,7 @@ mod tests {
434
434
let actual = Haml :: extract_annotated ( include_bytes ! ( "./test-fixtures/haml/src-17813.haml" ) ) ;
435
435
let expected = include_str ! ( "./test-fixtures/haml/dst-17813.haml" ) ;
436
436
437
- assert_eq ! ( actual, expected) ;
437
+ assert_eq ! ( actual. replace ( " \r \n " , " \n " ) , expected. replace ( " \r \n " , " \n " ) ) ;
438
438
}
439
439
440
440
#[ test]
You can’t perform that action at this time.
0 commit comments