github.com/RevenueMonster/sqlike@v1.0.6/sqlike/options/delete_test.go (about)

     1  package options
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/require"
     7  )
     8  
     9  func TestDeleteOptions(t *testing.T) {
    10  	opt := Delete()
    11  
    12  	{
    13  		opt.SetDebug(true)
    14  		require.True(t, opt.Debug)
    15  	}
    16  
    17  	{
    18  		opt.SetDebug(false)
    19  		require.False(t, opt.Debug)
    20  	}
    21  }