Add version information

This commit is contained in:
Marc Di Luzio 2020-06-02 15:54:22 +01:00
parent 07c5b9cf5a
commit e3b065ff89
5 changed files with 44 additions and 6 deletions

View file

@ -21,6 +21,10 @@ func TestHandleStatus(t *testing.T) {
if status.Ready != true {
t.Errorf("got false for /status")
}
if len(status.Version) == 0 {
t.Errorf("got empty version info")
}
}
func TestHandleRegister(t *testing.T) {