improvements, start integration tests
improved various funcs, removed extraneous things (e.g. Item.Attrs). first integration test. more will come.
This commit is contained in:
15
service_funcs_test.go
Normal file
15
service_funcs_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package gosecret
|
||||
|
||||
import (
|
||||
`testing`
|
||||
)
|
||||
|
||||
func TestNewService(t *testing.T) {
|
||||
|
||||
var err error
|
||||
|
||||
if _, err = NewService(); err != nil {
|
||||
t.Fatalf("could not get new Service via NewService: %v", err.Error())
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user