From 4ae529de85e77e8d811f2e6ff2a839393bee42fa Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Wed, 12 Aug 2015 21:51:47 +0100 Subject: [PATCH] Trying to work out why it cannot find user --- test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test.go b/test.go index d2ee80e..5eb6697 100644 --- a/test.go +++ b/test.go @@ -45,7 +45,11 @@ func (t TestSettings) testYoutubeSong() { // } dummyUser := dj.client.Users.Find("bottleotoast") if dummyUser == nil { - fmt.Printf("User does not exist") + fmt.Printf("User does not exist, printing users\n") + for _, user := range dj.client.Users { + fmt.Printf(user.Name + "\n") + } + fmt.Printf("End of user list\n") os.Exit(1) }