Fix render to string test case

This commit is contained in:
Jovansonlee Cesar 2017-07-18 16:04:36 +08:00
parent 1904e57746
commit fc2d2a1f6b

View file

@ -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")