From 62caf317275cb3add3a6873bf35a3b211140fcf5 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 6 Aug 2018 22:28:51 +0200 Subject: [PATCH] Added more failing tests And slightly fixed shrug test --- src/test/java/buttondevteam/chat/ChatFormatIT.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/test/java/buttondevteam/chat/ChatFormatIT.java b/src/test/java/buttondevteam/chat/ChatFormatIT.java index af45011..e33561e 100644 --- a/src/test/java/buttondevteam/chat/ChatFormatIT.java +++ b/src/test/java/buttondevteam/chat/ChatFormatIT.java @@ -40,14 +40,15 @@ public class ChatFormatIT { new TellrawPart("test").setBold(true).setItalic(true).setUnderlined(true).setColor(Color.White))); list.add(new ChatFormatIT(sender, "***_~~test~~_***", new TellrawPart("test").setBold(true).setItalic(true) .setUnderlined(true).setStrikethrough(true).setColor(Color.White))); - list.add(new ChatFormatIT(sender, "¯\\\\\\_(ツ)\\_/¯", new TellrawPart("¯").setColor(Color.White), - new TellrawPart("\\").setColor(Color.White), new TellrawPart("_(ツ)").setColor(Color.White), - new TellrawPart("_/¯").setColor(Color.White))); + list.add(new ChatFormatIT(sender, "¯\\\\\\_(ツ)\\_/¯", new TellrawPart("¯\\_(ツ)_/¯").setColor(Color.White))); list.add(new ChatFormatIT(sender, "https://google.hu/", new TellrawPart("https://google.hu/").setColor(Color.White).setUnderlined(true) .setHoverEvent(TellrawEvent.create(HoverAction.SHOW_TEXT, new TellrawPart("Click to open").setColor(Color.Blue))) .setClickEvent(TellrawEvent.create(ClickAction.OPEN_URL, "https://google.hu/")))); + list.add(new ChatFormatIT(sender, "*test", new TellrawPart("*test").setColor(Color.White))); + list.add(new ChatFormatIT(sender, "**test*", new TellrawPart("*test").setItalic(true).setColor(Color.White))); + list.add(new ChatFormatIT(sender, "***test", new TellrawPart("*test").setColor(Color.White))); return list; }