Skip to content

Commit b493383

Browse files
committed
Fix TestAPITopology
1 parent d648768 commit b493383

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/api_topologies_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestAPITopology(t *testing.T) {
1515
if err := json.Unmarshal(body, &topos); err != nil {
1616
t.Fatalf("JSON parse error: %s", err)
1717
}
18-
equals(t, 2, len(topos))
18+
equals(t, 3, len(topos))
1919
for _, topo := range topos {
2020
is200(t, ts, topo.URL)
2121
if topo.GroupedURL != "" {

app/scope_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ func checkRequest(t *testing.T, ts *httptest.Server, method, path string, body [
6969

7070
// getRawJSON GETs a file, checks it is JSON, and returns the non-parsed body
7171
func getRawJSON(t *testing.T, ts *httptest.Server, path string) []byte {
72-
7372
res, body := checkGet(t, ts, path)
7473

7574
if res.StatusCode != 200 {

0 commit comments

Comments
 (0)