Fixed the tests in irc_proto::colors.

This commit is contained in:
Aaron Weiss 2018-05-05 13:49:47 +02:00
parent c97469d630
commit 625b59d605
No known key found for this signature in database
GPG key ID: 047D32DF25DC22EF

View file

@ -111,7 +111,7 @@ impl FormattedStringExt for String {
#[cfg(test)]
mod test {
use proto::colors::FormattedStringExt;
use super::FormattedStringExt;
#[test]
fn test_strip_bold() {
@ -160,4 +160,4 @@ mod test {
fn test_strip_string_with_digit_after_2digit_color() {
assert_eq!("\x031212\x031111\x031010".strip_formatting(), "121110");
}
}
}