mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00: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
|
||
|
}
|
||
|
}
|