mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
Merge pull request #904 from hhirtz/fix-key-tests
irc/modes: remove duplicate test case
This commit is contained in:
commit
a56ca3240f
@ -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