Add flag to load transfomer configurations from files

This commit is contained in:
Jingfang Liu
2018-09-28 10:45:38 -07:00
parent 4c94f3ec38
commit fb6130e1e0
3 changed files with 86 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ func TestBuildValidate(t *testing.T) {
}
for _, mycase := range cases {
opts := buildOptions{}
e := opts.Validate(mycase.args)
e := opts.Validate(mycase.args, "", nil)
if len(mycase.erMsg) > 0 {
if e == nil {
t.Errorf("%s: Expected an error %v", mycase.name, mycase.erMsg)