diff --git a/index/index_test.go b/index/index_test.go index e0bccb97b..1e37380eb 100644 --- a/index/index_test.go +++ b/index/index_test.go @@ -43,7 +43,7 @@ func TestWriteJSONNonleafRows(t *testing.T) { if len(metrics) != 3 { t.Fatalf("Wrong metrics slice length = %d: %s", len(metrics), metrics) } - if metrics[0] != "testing.leaf" || metrics[1] != "testing.leaf.node" { + if metrics[0] != "testing.leaf" || metrics[1] != "testing.leaf.node" || metrics[2] != "testing.\"broken\".node" { t.Fatalf("Wrong metrics contents: %s", metrics) } }