Fix render to string test case
This commit is contained in:
parent
1904e57746
commit
fc2d2a1f6b
|
@ -106,7 +106,7 @@ fn test_render_to_string() {
|
||||||
Color::Light, Color::Dark,
|
Color::Light, Color::Dark,
|
||||||
];
|
];
|
||||||
let image: String = Renderer::<char>::new(colors, 2, 1).build();
|
let image: String = Renderer::<char>::new(colors, 2, 1).build();
|
||||||
assert_eq!(&image, " \n # \n # \n ");
|
assert_eq!(&image, " \n █ \n █ \n ");
|
||||||
|
|
||||||
let image2 = Renderer::new(colors, 2, 1)
|
let image2 = Renderer::new(colors, 2, 1)
|
||||||
.light_color("A")
|
.light_color("A")
|
||||||
|
|
Loading…
Reference in a new issue