mirror of
https://codeberg.org/librarian/feeds
synced 2024-12-06 19:16:24 +01:00
Merge pull request #17 from StableLib/fixtest
Fix printing wrong output in test.
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user