mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect/prometheus: typo fix
This commit is contained in:
parent
1371024747
commit
40a6c0d672
1 changed files with 2 additions and 2 deletions
|
@ -2,9 +2,9 @@ package prometheus
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGetTimeSuccess(t *testing.T) {
|
func TestGetTimeSuccess(t *testing.T) {
|
||||||
|
@ -62,7 +62,7 @@ func TestGetTimeError(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify timestampExpected
|
// Verify timestampExpected
|
||||||
ts, err = getTime(r, "s", 123)
|
_, err = getTime(r, "s", 123)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
t.Fatalf("expecting non-nil error in getTime(%q)", s)
|
t.Fatalf("expecting non-nil error in getTime(%q)", s)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue