|
@@ -285,6 +285,21 @@ public class ChannelInfoTest {
|
285
|
285
|
"-k+k lalala foobar", getModes(parser.sentLines.get(0)));
|
286
|
286
|
}
|
287
|
287
|
|
|
288
|
+ @Test
|
|
289
|
+ public void testIssue1410() {
|
|
290
|
+ final TestParser parser = new TestParser();
|
|
291
|
+
|
|
292
|
+ parser.injectConnectionStrings();
|
|
293
|
+ parser.injectLine(":nick JOIN #DMDirc_testing");
|
|
294
|
+ parser.injectLine(":foo!bar@baz JOIN #DMDirc_testing");
|
|
295
|
+ parser.injectLine(":flub!floo@fleeee JOIN #DMDirc_testing");
|
|
296
|
+
|
|
297
|
+ assertNotSame(parser.getChannelInfo("#DMDirc_testing").getChannelClients(),
|
|
298
|
+ parser.getChannelInfo("#DMDirc_testing").getChannelClients());
|
|
299
|
+ assertEquals(parser.getChannelInfo("#DMDirc_testing").getChannelClients(),
|
|
300
|
+ parser.getChannelInfo("#DMDirc_testing").getChannelClients());
|
|
301
|
+ }
|
|
302
|
+
|
288
|
303
|
@Test @Ignore
|
289
|
304
|
public void testModeUnsetKeyMultiple() {
|
290
|
305
|
final TestParser parser = new TestParser();
|