Skip to content

Commit

Permalink
feat(test): add Log method for logging in subtests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivokub committed Dec 9, 2021
1 parent 68e8a94 commit 21f3ece
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/assert.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ func (assert *Assert) Run(fn func(assert *Assert), descs ...string) {
})
}

// Log logs using the test instance logger.
func (assert *Assert) Log(v ...interface{}) {
assert.t.Log(v...)
}

// ProverSucceeded fails the test if any of the following step errored:
//
// 1. compiles the circuit (or fetch it from the cache)
Expand Down

0 comments on commit 21f3ece

Please sign in to comment.