     assert response.status == 200
     json = json_response(response, 200)
     returned_ids = Enum.map(json["posts"], &(String.to_integer(&1["id"])))
-    [p1, p2, p3, p4, p5, p6 | _ ] = posts
+    [p1, p2, p3, p4, p5, p6 | _] = posts
     assert p1.id in returned_ids
     assert p2.id in returned_ids
     refute p3.id in returned_ids

    assert response.status == 200
    json = json_response(response, 200)
    returned_ids = Enum.map(json["posts"], &(String.to_integer(&1["id"])))
    [p1, p2, p3, p4, p5, p6 | _ ] = posts
    assert p1.id in returned_ids
    assert p2.id in returned_ids
    assert p3.id in returned_ids

    response = get(conn, category_post_path(conn, :trending, "cat1"))
    assert response.status == 200
    json = json_response(response, 200)
    [p1, p2, p3, p4, p5, p6 | _] = posts
    returned_ids = Enum.map(json["posts"], &(String.to_integer(&1["id"])))
    assert p1.id in returned_ids
    assert p2.id in returned_ids
