Fix a webserver test (increment number of tweets in the feed) that I broke by adding more sample data
This commit is contained in:
parent
1af7fa3817
commit
084bca9c57
@ -26,7 +26,7 @@ func TestTimeline(t *testing.T) {
|
||||
assert.Equal(title_node.FirstChild.Data, "Timeline | Offline Twitter")
|
||||
|
||||
tweet_nodes := cascadia.QueryAll(root, selector(".timeline > .tweet"))
|
||||
assert.Len(tweet_nodes, 20)
|
||||
assert.Len(tweet_nodes, 21)
|
||||
}
|
||||
|
||||
func TestTimelineWithCursor(t *testing.T) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user