diff options
Diffstat (limited to 'minecraft-chat/tests')
| -rw-r--r-- | minecraft-chat/tests/integration_test.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/minecraft-chat/tests/integration_test.rs b/minecraft-chat/tests/integration_test.rs index 46e18457..9fd9c093 100644 --- a/minecraft-chat/tests/integration_test.rs +++ b/minecraft-chat/tests/integration_test.rs @@ -5,9 +5,11 @@ use serde_json::{Result, Value}; fn test() { let j: Value = serde_json::from_str( r#"{ - "text":"hello" + "text": "hello", + "color": "red" }"#, ) .unwrap(); let component = Component::new(&j).unwrap(); + println!("println: {}", component.to_ansi(None)); } |
