From 2d80b9ecb7e03bcff48e8c45fe605b64a30dc0a2 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 10 Aug 2015 00:57:08 +0100 Subject: [PATCH] Fixing build errors --- test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test.go b/test.go index 07e6752..feb5e67 100644 --- a/test.go +++ b/test.go @@ -14,9 +14,9 @@ func createClient(uname string) *gumble.Client { } func TestYoutubeSong(t *testing.T) { - dummy1Client := createClient("dummy") - dummy1Client.Connect() - dummy1 := gumble.Users.Find("dummy") + dummyClient := createClient("dummy") + dummyClient.Connect() + dummyUser := dj.client.Find("dummy") // Don't judge, I used the (autogenerated) Top Tracks for United Kingdom playlist songs := map[string]string{ @@ -31,7 +31,7 @@ func TestYoutubeSong(t *testing.T) { } for url, title := range songs { - err := add(dummy1, url) + err := add(dummyUser, url) if err != nil { t.Error( "For", url, @@ -45,8 +45,8 @@ func TestYoutubeSong(t *testing.T) { "got", dj.queue.CurrentSong().Title(), ) } - skip(dummy1, false, false) + skip(dummyUser, false, false) } - dummy1Client.Disconnect() + dummyClient.Disconnect() }