mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
fix test
This commit is contained in:
parent
7189dc21c8
commit
d0ce69920b
|
@ -186,8 +186,8 @@ func newTest(t testutil.T, input string) (*test, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetStorage sets test's storage
|
// SetStorage sets test's storage
|
||||||
func (t *test) SetStorage(s storage.Storage) {
|
func (t *test) SetStorage(s teststorage.TestStorage) {
|
||||||
t.storage = s
|
t.storage = &s
|
||||||
}
|
}
|
||||||
|
|
||||||
//go:embed testdata
|
//go:embed testdata
|
||||||
|
|
Loading…
Reference in a new issue