Skip to content

Commit

Permalink
Fix the tests to work correctly.
Browse files Browse the repository at this point in the history
It appears that go's xml package changed the text it would output.  It is
semantically the same, so just update the expected output.
  • Loading branch information
MJDSys committed Jul 7, 2013
1 parent c8758ff commit 0026358
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions feed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import (
"time"
)

var atomOutput = `<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
var atomOutput = `<?xml version="1.0" encoding="UTF-8"?><feed xmlns="http://www.w3.org/2005/Atom">
<title>jmoiron.net blog</title>
<id>http://jmoiron.net/blog</id>
<updated>2013-01-16T21:52:35-05:00</updated>
Expand Down Expand Up @@ -44,8 +43,7 @@ var atomOutput = `<?xml version="1.0" encoding="UTF-8"?>
</entry>
</feed>`

var rssOutput = `<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
var rssOutput = `<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
<channel>
<title>jmoiron.net blog</title>
<link>http://jmoiron.net/blog</link>
Expand Down

0 comments on commit 0026358

Please sign in to comment.