Add broadcast command to the cmdline client
This commit is contained in:
parent
db19e4a657
commit
091469dd91
2 changed files with 16 additions and 0 deletions
|
@ -53,7 +53,9 @@ func Test_InnerMain(t *testing.T) {
|
|||
assert.NoError(t, InnerMain("command", "move", "N"))
|
||||
assert.NoError(t, InnerMain("command", "stash"))
|
||||
assert.NoError(t, InnerMain("command", "repair"))
|
||||
assert.NoError(t, InnerMain("command", "broadcast", "abc"))
|
||||
|
||||
// Give it malformed commands
|
||||
assert.Error(t, InnerMain("command", "move", "stash"))
|
||||
assert.Error(t, InnerMain("command", "broadcast"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue