aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt
index c95e4ec03..8649ef199 100644
--- a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt
+++ b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt
@@ -34,11 +34,11 @@ class VisitorListenerTest {
listener.onTabListUpdate(
TabListUpdateEvent(
mutableListOf(
- "§b§lVisitors:",
- "§cSpaceman",
- "§cGrandma Wolf",
+ "§b§lVisitors: §r§f(3)",
+ " §r§cSpaceman",
+ " §r§6Madame Eleanor Q. Goldsworth III §r§fCarrot §r§c333 C §r§3107k FXP §r§275 GXP",
+ " §r§fJacob",
"ThePlayerName",
- "Jacob",
"",
)
)
@@ -46,7 +46,7 @@ class VisitorListenerTest {
verify { VisitorAPI.addVisitor("§fJacob") }
verify { VisitorAPI.addVisitor("§cSpaceman") }
- verify { VisitorAPI.addVisitor("§cGrandma Wolf") }
+ verify { VisitorAPI.addVisitor("§6Madame Eleanor Q. Goldsworth III") }
}
@Test
@@ -57,7 +57,7 @@ class VisitorListenerTest {
listener.onTabListUpdate(
TabListUpdateEvent(
- mutableListOf("§b§lVisitors:", "")
+ mutableListOf("§b§lVisitors: §r§f(0)", "")
)
)
@@ -74,10 +74,10 @@ class VisitorListenerTest {
listener.onTabListUpdate(
TabListUpdateEvent(
- mutableListOf("§b§lVisitors:", "")
+ mutableListOf("§b§lVisitors: §r§f(0)", "")
)
)
verify(exactly = 0) { VisitorAPI.removeVisitor("§fJacob") }
}
-} \ No newline at end of file
+}