mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-24 11:20:18 +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
|
||
|
}
|
||
|
}
|