mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/storage: typo fix
This commit is contained in:
parent
6954e126fc
commit
9eb5de334f
1 changed files with 0 additions and 4 deletions
|
@ -36,8 +36,6 @@ func testMetricNameSortTags(t *testing.T, tags, expectedTags []string) {
|
||||||
|
|
||||||
func TestMetricNameMarshalDuplicateKeys(t *testing.T) {
|
func TestMetricNameMarshalDuplicateKeys(t *testing.T) {
|
||||||
var mn MetricName
|
var mn MetricName
|
||||||
mn.AccountID = 123
|
|
||||||
mn.ProjectID = 324
|
|
||||||
mn.MetricGroup = []byte("xxx")
|
mn.MetricGroup = []byte("xxx")
|
||||||
mn.AddTag("foo", "bar")
|
mn.AddTag("foo", "bar")
|
||||||
mn.AddTag("duplicate", "tag")
|
mn.AddTag("duplicate", "tag")
|
||||||
|
@ -46,8 +44,6 @@ func TestMetricNameMarshalDuplicateKeys(t *testing.T) {
|
||||||
mn.AddTag("duplicate", "tag2")
|
mn.AddTag("duplicate", "tag2")
|
||||||
|
|
||||||
var mnExpected MetricName
|
var mnExpected MetricName
|
||||||
mnExpected.AccountID = 123
|
|
||||||
mnExpected.ProjectID = 324
|
|
||||||
mnExpected.MetricGroup = []byte("xxx")
|
mnExpected.MetricGroup = []byte("xxx")
|
||||||
mnExpected.AddTag("duplicate", "tag")
|
mnExpected.AddTag("duplicate", "tag")
|
||||||
mnExpected.AddTag("foo", "bar")
|
mnExpected.AddTag("foo", "bar")
|
||||||
|
|
Loading…
Reference in a new issue