Skip to content

Commit

Permalink
Fix TestAPITopology
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed May 26, 2015
1 parent 84125a0 commit 54104ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion app/api_topologies_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestAPITopology(t *testing.T) {
if err := json.Unmarshal(body, &topos); err != nil {
t.Fatalf("JSON parse error: %s", err)
}
equals(t, 2, len(topos))
equals(t, 3, len(topos))
for _, topo := range topos {
is200(t, ts, topo.URL)
if topo.GroupedURL != "" {
Expand Down
1 change: 0 additions & 1 deletion app/scope_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func checkRequest(t *testing.T, ts *httptest.Server, method, path string, body [

// getRawJSON GETs a file, checks it is JSON, and returns the non-parsed body
func getRawJSON(t *testing.T, ts *httptest.Server, path string) []byte {

res, body := checkGet(t, ts, path)

if res.StatusCode != 200 {
Expand Down

0 comments on commit 54104ad

Please sign in to comment.