Fix printing wrong output in test.

This commit is contained in:
Dmitry Chestnykh
2015-03-26 14:29:55 +01:00
parent 2e133eb352
commit 91a605dfe8
+1 -1
View File
@@ -125,7 +125,7 @@ func TestFeed(t *testing.T) {
t.Errorf("unexpected error writing Atom: %v", err)
}
if got := buf.String(); got != atomOutput {
t.Errorf("Atom not what was expected. Got:\n%s\n\nExpected:\n%s\n", got, rssOutput)
t.Errorf("Atom not what was expected. Got:\n%s\n\nExpected:\n%s\n", got, atomOutput)
}
rss, err := feed.ToRss()