Fix tests

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-07-30 12:22:39 -04:00
parent 112f7f0370
commit d65358b6cc
5 changed files with 95 additions and 131 deletions
-2
View File
@@ -447,5 +447,3 @@ func (pc *PostAndComments) UnmarshalJSON(data []byte) error {
func (pc *PostAndComments) hasMore() bool {
return pc.moreComments != nil && len(pc.moreComments.Children) > 0
}
func (pc *PostAndComments) M() *More { return pc.moreComments }