Reuse common service struct
Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
@@ -66,10 +66,12 @@ func readFileContents(t *testing.T, filepath string) string {
|
||||
|
||||
func testClientServices(t *testing.T, c *Client) {
|
||||
services := []string{
|
||||
"Account",
|
||||
"Comment",
|
||||
"Flair",
|
||||
"Listings",
|
||||
"Post",
|
||||
"Search",
|
||||
"Subreddit",
|
||||
"User",
|
||||
"Vote",
|
||||
|
||||
Reference in New Issue
Block a user