kaspad/txscript/main_test.go
Svarog 418805aed3 [DEV-314] improved txscript coverage (#137)
* [DEV-314] Added tests for DisasmPC and DisasmScript

* [DEV-314] Re-wrote TestCheckErrorCondition to cover the whole method

* [DEV-314] Fixed error message
2018-12-30 18:16:41 +02:00

16 lines
243 B
Go

package txscript
import (
"os"
"testing"
"github.com/btcsuite/btclog"
)
func TestMain(m *testing.M) {
// set log level to trace, so that logClosures passed to log.Tracef are covered
log.SetLevel(btclog.LevelTrace)
os.Exit(m.Run())
}