mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/storage: typo fixes after a77e88db7d
This commit is contained in:
parent
a77e88db7d
commit
c14fd6c43f
1 changed files with 2 additions and 2 deletions
|
@ -767,7 +767,7 @@ func TestMatchTagFilters(t *testing.T) {
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Fatalf("Should match")
|
t.Fatalf("Should match")
|
||||||
}
|
}
|
||||||
tfs.Reset(mn.AccountID, mn.ProjectID)
|
tfs.Reset()
|
||||||
if err := tfs.Add([]byte("non-existing-tag"), []byte(".+"), true, true); err != nil {
|
if err := tfs.Add([]byte("non-existing-tag"), []byte(".+"), true, true); err != nil {
|
||||||
t.Fatalf("cannot add regexp, negative filter: %s", err)
|
t.Fatalf("cannot add regexp, negative filter: %s", err)
|
||||||
}
|
}
|
||||||
|
@ -870,7 +870,7 @@ func TestMatchTagFilters(t *testing.T) {
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Fatalf("Should match")
|
t.Fatalf("Should match")
|
||||||
}
|
}
|
||||||
tfs.Reset(mn.AccountID, mn.ProjectID)
|
tfs.Reset()
|
||||||
if err := tfs.Add([]byte("key 3"), []byte(""), true, false); err != nil {
|
if err := tfs.Add([]byte("key 3"), []byte(""), true, false); err != nil {
|
||||||
t.Fatalf("cannot add regexp, negative filter: %s", err)
|
t.Fatalf("cannot add regexp, negative filter: %s", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue