Skip to content

Commit

Permalink
Add test for #121, same fix applies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaj committed Oct 11, 2021
1 parent 1a511f4 commit 6a998d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/basic_manual.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,14 @@ mod issue_122 {
"InfinityA444-4444M4 black/0-4444M4 #444InfinityInfinity0.44444O #444Infinity0.0869565217",
)
}
/// https://github.com/kaj/rsass/issues/121 is very similar.
#[test]
fn issue_121() {
check_value(
"44A-#444/0+-\0\0\0+44/0+444&",
"44A-#444/0-\u{1}\u{0}\u{0}\u{0}Infinity444",
)
}
}

/// Test auto-converted from "sass-spec/spec/libsass/rel.hrx", except one failing unit calculation.
Expand Down

0 comments on commit 6a998d7

Please sign in to comment.