aboutsummaryrefslogtreecommitdiff
path: root/minecraft-chat/tests/integration_test.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-09 19:35:02 +0000
committermat <github@matdoes.dev>2021-12-09 19:35:02 +0000
commitecee5e96ca2f7d00dd14f44ff0c1facd01550b65 (patch)
tree5f39fa46919fa25ce11e1cccae100953bad292f0 /minecraft-chat/tests/integration_test.rs
parenta51524d457fff3e22183be72fb4837123875cfba (diff)
downloadazalea-drasl-ecee5e96ca2f7d00dd14f44ff0c1facd01550b65.tar.xz
add more tests and fix
Diffstat (limited to 'minecraft-chat/tests/integration_test.rs')
-rw-r--r--minecraft-chat/tests/integration_test.rs2
1 files changed, 1 insertions, 1 deletions
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,