Skip to content

Commit 39af779

Browse files
committed
Force colored to attempt colorization in test
1 parent becb948 commit 39af779

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ascii_art.rs

+3
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ mod test {
264264

265265
#[test]
266266
fn render() {
267+
use colored::control::SHOULD_COLORIZE;
268+
SHOULD_COLORIZE.set_override(true);
269+
267270
let colors_shim = Vec::new();
268271

269272
assert_eq!(

0 commit comments

Comments
 (0)