diff --git a/main_test.go b/main_test.go index f1276e8..409fce3 100644 --- a/main_test.go +++ b/main_test.go @@ -14,7 +14,7 @@ func Test_run(t *testing.T) { dirBlank := "" dirValid := "examples/localizations_src" dirTestFiles := "test_files" - + dirWithBad := "mock" tests := []struct { name string args args @@ -35,6 +35,14 @@ func Test_run(t *testing.T) { }, wantErr: true, }, + { + name: "not valid", + args: args{ + in: &dirWithBad, + out: &dirTestFiles, + }, + wantErr: true, + }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {