mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-21 06:16:45 +00:00

* [DEV-314] Added tests for DisasmPC and DisasmScript * [DEV-314] Re-wrote TestCheckErrorCondition to cover the whole method * [DEV-314] Fixed error message
16 lines
243 B
Go
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())
|
|
}
|