Skip to content

Commit

Permalink
Merge pull request smartystreets#531 from vutung2311/master
Browse files Browse the repository at this point in the history
Add stack trace for failed test
  • Loading branch information
riannucci authored Mar 6, 2019
2 parents fa46cdb + e090b19 commit 200a235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion convey/reporting/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ var (
dotError = "E"
dotSkip = "S"
errorTemplate = "* %s \nLine %d: - %v \n%s\n"
failureTemplate = "* %s \nLine %d:\n%s\n"
failureTemplate = "* %s \nLine %d:\n%s\n%s\n"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion convey/reporting/problems.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (self *problem) showFailures() {
self.out.Println("\nFailures:\n")
self.out.Indent()
}
self.out.Println(failureTemplate, f.File, f.Line, f.Failure)
self.out.Println(failureTemplate, f.File, f.Line, f.Failure, f.StackTrace)
}
}

Expand Down

0 comments on commit 200a235

Please sign in to comment.