Fixed the tests in irc_proto::colors.
This commit is contained in:
parent
c97469d630
commit
625b59d605
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue