github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/util/debug_test.go (about) 1 package util 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/require" 7 ) 8 9 func TestDebugDisabled(t *testing.T) { 10 // Double check to disable debug (note: util.Debugf statements ought to also be removed from code in most circumstances) 11 require.False(t, debug) 12 }