Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkvist committed Sep 27, 2019
1 parent a63f450 commit 54e50c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ func TestReadAndParseCSV(t *testing.T) {
t.Fatalf("while reading and parsing fake .csv: %v", err)
}

if len(sites) != i+1 {
t.Fatalf("expected sites to have a length of %v. got=%v", i+1, len(sites))
if len(sites) != i {
t.Fatalf("expected sites to have a length of %v. got=%v", i, len(sites))
}
}

Expand Down

0 comments on commit 54e50c9

Please sign in to comment.