added test for apply dataset

This commit is contained in:
Unknown
2018-09-03 15:26:17 -04:00
parent 5c9f19eee3
commit 93ab11a5c7

View File

@@ -1,4 +1,5 @@
// TODO(sbrow): Update package tests. // TODO(sbrow): Update package tests.
package ps package ps
import ( import (
@@ -8,6 +9,22 @@ import (
"github.com/sbrow/ps/v2/runner" "github.com/sbrow/ps/v2/runner"
) )
func TestApplyDataset(t *testing.T) {
tests := []struct {
name string
wantErr bool
}{
{"Ignite_1", false},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if err := ApplyDataset(tt.name); (err != nil) != tt.wantErr {
t.Errorf("ApplyDataset() error = %v, wantErr %v", err, tt.wantErr)
}
})
}
}
/* /*
var testDoc string var testDoc string