diff --git a/ansi2/src/ans.rs b/ansi2/src/ans.rs index 8ac8043..3e3e3f3 100644 --- a/ansi2/src/ans.rs +++ b/ansi2/src/ans.rs @@ -86,6 +86,9 @@ mod test { let c1 = Canvas::new(&s, None); let c2 = Canvas::new(&min, None); assert_eq!(c1, c2); + + let min2 = to_ans(&min, None, true); + assert_eq!(min2, min); } } }