Browse Source

Fix unit test

tags/v0.10.3
Chris Smith 5 years ago
parent
commit
bbcafc4262

+ 1
- 1
src/test/kotlin/com/dmdirc/ktirc/messages/processors/NoticeProcessorTest.kt View File

60
 
60
 
61
     @Test
61
     @Test
62
     fun `raises CTCP reply received event with content when containing unicode chars`() {
62
     fun `raises CTCP reply received event with content when containing unicode chars`() {
63
-        val events = PrivmsgProcessor().process(
63
+        val events = NoticeProcessor().process(
64
                 IrcMessage(emptyMap(), "acidburn!libby@root.localhost".toByteArray(), "NOTICE", params("#crashandburn", "\u0001PING 👩‍💻\u0001")))
64
                 IrcMessage(emptyMap(), "acidburn!libby@root.localhost".toByteArray(), "NOTICE", params("#crashandburn", "\u0001PING 👩‍💻\u0001")))
65
         assertEquals(1, events.size)
65
         assertEquals(1, events.size)
66
 
66
 

Loading…
Cancel
Save