Skip to content

Commit

Permalink
fixing error messages for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Kanchwala committed Oct 1, 2020
1 parent 37515c8 commit c5d6f93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/downloader/getter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ func TestGetURLSubDir(t *testing.T) {
t.Errorf("url got: '%v', want: '%v'", gotURL, tt.wantURL)
}
if !reflect.DeepEqual(gotSubDir, tt.wantSubDir) {
t.Errorf("url got: '%v', want: '%v'", gotSubDir, tt.wantSubDir)
t.Errorf("subdir got: '%v', want: '%v'", gotSubDir, tt.wantSubDir)
}
if !reflect.DeepEqual(gotErr, tt.wantErr) {
t.Errorf("url got: '%v', want: '%v'", gotErr, tt.wantErr)
t.Errorf("error got: '%v', want: '%v'", gotErr, tt.wantErr)
}
}
}
Expand Down

0 comments on commit c5d6f93

Please sign in to comment.