Skip to content

Commit

Permalink
Fix order of actual/expected
Browse files Browse the repository at this point in the history
  • Loading branch information
Necoro committed Sep 6, 2020
1 parent 559f8c8 commit 175b9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestDefaultRSSTranslator_Translate(t *testing.T) {
expected := &gofeed.Feed{}
jsonEncoding.Unmarshal(e, &expected)

if assert.Equal(t, actual, expected, "Feed file %s.xml did not match expected output %s.json", name, name) {
if assert.Equal(t, expected, actual, "Feed file %s.xml did not match expected output %s.json", name, name) {
fmt.Printf("OK\n")
} else {
fmt.Printf("Failed\n")
Expand Down

0 comments on commit 175b9a2

Please sign in to comment.