Minor cleanups

This commit is contained in:
Marc Di Luzio 2020-06-06 18:44:24 +01:00
parent dc957f7fc1
commit 50cc8b5dbf
3 changed files with 2 additions and 3 deletions

View file

@ -8,7 +8,6 @@ RUN go mod download
# For /usr/share/dict/words # For /usr/share/dict/words
RUN apt-get update && apt-get install -y wamerican RUN apt-get update && apt-get install -y wamerican
RUN go build -o rove-server -ldflags="-X 'github.com/mdiluz/rove/pkg/version.Version=$(git describe --always --long --dirty --tags)'" cmd/rove-server/main.go RUN go build -o rove-server -ldflags="-X 'github.com/mdiluz/rove/pkg/version.Version=$(git describe --always --long --dirty --tags)'" cmd/rove-server/main.go
CMD [ "./rove-server" ] CMD [ "./rove-server" ]

View file

@ -65,7 +65,7 @@ func Test_InnerMain(t *testing.T) {
assert.NoError(t, InnerMain("register")) assert.NoError(t, InnerMain("register"))
// We've not spawned a rover yet so these should fail // 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"))
assert.Error(t, InnerMain("radar")) assert.Error(t, InnerMain("radar"))
assert.Error(t, InnerMain("rover")) assert.Error(t, InnerMain("rover"))

View file

@ -180,5 +180,5 @@ func TestHandleRover(t *testing.T) {
t.Errorf("got false for /rover: %s", status.Error) t.Errorf("got false for /rover: %s", status.Error)
} }
// TODO: Verify the radar information // TODO: Verify the rover information
} }