Fix test
This commit is contained in:
parent
6717138923
commit
a141177ca6
|
@ -746,7 +746,7 @@ func TestStress(t *testing.T) {
|
||||||
|
|
||||||
func TestVersion(t *testing.T) {
|
func TestVersion(t *testing.T) {
|
||||||
s, n, id := Version()
|
s, n, id := Version()
|
||||||
if s == "" || n == 0 || id == 0 {
|
if s == "" || n == 0 || id == "" {
|
||||||
t.Errorf("Version failed %q, %d, %q\n", s, n, id)
|
t.Errorf("Version failed %q, %d, %q\n", s, n, id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue