Add version information
This commit is contained in:
parent
07c5b9cf5a
commit
e3b065ff89
5 changed files with 44 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue