Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m1 committed Dec 23, 2019
1 parent 2c19177 commit fe3d8d2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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) {
Expand Down

0 comments on commit fe3d8d2

Please sign in to comment.