Remove more debugging

This commit is contained in:
Neale Pickett 2022-05-10 20:05:16 -06:00
parent 243fdfd006
commit cbe231ef12
1 changed files with 0 additions and 6 deletions

View File

@ -4,7 +4,6 @@ import (
"bytes"
"encoding/json"
"fmt"
"log"
"net/http/httptest"
"net/url"
"testing"
@ -125,11 +124,6 @@ func TestHttpd(t *testing.T) {
} else if err := json.Unmarshal(r.Body.Bytes(), &state); err != nil {
t.Error(err)
} else if len(state.PointsLog) != 1 {
switch v := server.State.(type) {
case *State:
log.Print(v)
}
t.Errorf("Points log wrong length. Wanted 1, got %v (length %d)", state.PointsLog, len(state.PointsLog))
} else if len(state.Puzzles["pategory"]) != 2 {
t.Error("Didn't unlock next puzzle")