mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-18 22:52:11 +01:00
17 lines
235 B
Go
17 lines
235 B
Go
|
package vultr
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestNewAPIConfig(t *testing.T) {
|
||
|
|
||
|
sdc := &SDConfig{}
|
||
|
baseDir := "."
|
||
|
_, err := newAPIConfig(sdc, baseDir)
|
||
|
if err != nil {
|
||
|
t.Errorf("newAPIConfig failed with, err: %v", err)
|
||
|
return
|
||
|
}
|
||
|
}
|