mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-29 07:29:31 +01:00
irc/modes: remove duplicate test case
This commit is contained in:
parent
3c34230a43
commit
1095aca5e7
@ -39,13 +39,6 @@ func TestIssue874(t *testing.T) {
|
|||||||
ModeChange{Op: List, Mode: BanMask, Arg: ""},
|
ModeChange{Op: List, Mode: BanMask, Arg: ""},
|
||||||
}, t)
|
}, t)
|
||||||
|
|
||||||
modes, unknown = ParseChannelModeChanges("+kb", "beer")
|
|
||||||
assertEqual(unknown, emptyUnknown, t)
|
|
||||||
assertEqual(modes, ModeChanges{
|
|
||||||
ModeChange{Op: Add, Mode: Key, Arg: "beer"},
|
|
||||||
ModeChange{Op: List, Mode: BanMask, Arg: ""},
|
|
||||||
}, t)
|
|
||||||
|
|
||||||
modes, unknown = ParseChannelModeChanges("-kb", "beer")
|
modes, unknown = ParseChannelModeChanges("-kb", "beer")
|
||||||
assertEqual(unknown, emptyUnknown, t)
|
assertEqual(unknown, emptyUnknown, t)
|
||||||
assertEqual(modes, ModeChanges{
|
assertEqual(modes, ModeChanges{
|
||||||
|
Loading…
Reference in New Issue
Block a user