Fix issue with command returning true when no rover was spawned

This commit is contained in:
Marc Di Luzio 2020-06-06 00:18:41 +01:00
parent 9c0dde616b
commit e242fcc4f7
2 changed files with 6 additions and 3 deletions

View file

@ -41,7 +41,7 @@ func Test_InnerMain(t *testing.T) {
assert.NoError(t, InnerMain("register"))
// We've not spawned a rover yet so these should fail
// assert.Error(t, InnerMain("command")) // Currently not erroring, needs investigation
assert.Error(t, InnerMain("command")) // Currently not erroring, needs investigation
assert.Error(t, InnerMain("radar"))
assert.Error(t, InnerMain("rover"))