Ver Fonte

Removed test causing odd problems.

Will debug and re-eval.
Bruce Marriner há 8 anos atrás
pai
commit
b3fcbe7e4f
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      discord_test.go

+ 3 - 0
discord_test.go

@@ -189,6 +189,7 @@ func TestNewUserPassToken(t *testing.T) {
 	}
 }
 
+/*
 func TestOpenClose(t *testing.T) {
 	if envToken == "" {
 		t.Skip("Skipping TestClose, DG_TOKEN not set")
@@ -199,6 +200,7 @@ func TestOpenClose(t *testing.T) {
 		t.Fatalf("TestClose, New(envToken) returned error: %+v", err)
 	}
 
+	d.Debug = true
 	if err = d.Open(); err != nil {
 		t.Fatalf("TestClose, d.Open failed: %+v", err)
 	}
@@ -224,6 +226,7 @@ func TestOpenClose(t *testing.T) {
 		t.Fatalf("TestClose, d.Close failed: %+v", err)
 	}
 }
+*/
 
 func TestAddHandler(t *testing.T) {
 	testHandlerCalled := 0