Add broadcast command to the cmdline client

This commit is contained in:
Marc Di Luzio 2020-07-09 22:37:55 +01:00
parent db19e4a657
commit 091469dd91
2 changed files with 16 additions and 0 deletions

View file

@ -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"))
}