mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-29 15:40:02 +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: ""},
|
||||
}, 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")
|
||||
assertEqual(unknown, emptyUnknown, t)
|
||||
assertEqual(modes, ModeChanges{
|
||||
|
Loading…
Reference in New Issue
Block a user