From 1d1c3e08f25f0c4ed45daa279438620f98a736d1 Mon Sep 17 00:00:00 2001 From: MichaelOultram Date: Mon, 10 Aug 2015 01:22:32 +0100 Subject: [PATCH] Fixing build errors --- test.go | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/test.go b/test.go index 9641d70..ba8067c 100644 --- a/test.go +++ b/test.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "github.com/layeh/gumble/gumble" ) @@ -35,17 +36,9 @@ func testYoutubeSong(password, ip, port string) { for url, title := range songs { err := add(dummyUser, url) if err != nil { - t.Error( - "For", url, - "expected", title, - "got", err, - ) + fmt.Printf("For: %s; Expected: %s; Got: %s", url, title, err.Error()) } else if dj.queue.CurrentSong().Title() != title { - t.Error( - "For", url, - "expected", title, - "got", dj.queue.CurrentSong().Title(), - ) + fmt.Printf("For: %s; Expected: %s; Got: %s", url, title, dj.queue.CurrentSong().Title()) } skip(dummyUser, false, false) }