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