From ecee5e96ca2f7d00dd14f44ff0c1facd01550b65 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 9 Dec 2021 19:35:02 +0000 Subject: add more tests and fix --- minecraft-chat/tests/integration_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minecraft-chat/tests') diff --git a/minecraft-chat/tests/integration_test.rs b/minecraft-chat/tests/integration_test.rs index 9119d58f..4c8a39aa 100644 --- a/minecraft-chat/tests/integration_test.rs +++ b/minecraft-chat/tests/integration_test.rs @@ -54,7 +54,7 @@ fn complex_ansi_test() { assert_eq!( component.to_ansi(None), format!( - "{bold}{italic}{underlined}{red}hello{reset}{bold}{italic} {reset}{italic}{strikethrough}{abcdef}world{reset} asdf{bold}!{reset}", + "{bold}{italic}{underlined}{red}hello{reset}{bold}{italic}{red} {reset}{italic}{strikethrough}{abcdef}world{reset}{abcdef} asdf{bold}!{reset}", bold = Ansi::BOLD, italic = Ansi::ITALIC, underlined = Ansi::UNDERLINED, -- cgit v1.2.3