Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcvetta committed Jul 17, 2014
1 parent a9b2eaf commit 70a0855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func rndStr(t *testing.T) string {

func TestConnect(t *testing.T) {
db := connectTest(t)
logPretty(db)
assert.Equal(t, "http://localhost:7474/db/data", db.Url)
}

Expand Down
1 change: 1 addition & 0 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func join(fragments ...string) string {
return strings.Join(parts, "/")
}


func logPretty(x interface{}) {
_, file, line, _ := runtime.Caller(1)
lineNo := strconv.Itoa(line)
Expand Down

0 comments on commit 70a0855

Please sign in to comment.