github.com/supabase/cli@v1.168.1/internal/utils/slice_test.go (about)

     1  package utils
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  func TestSliceEqual(t *testing.T) {
    10  	assert.False(t, SliceEqual([]string{"a"}, []string{"b"}))
    11  }
    12  
    13  func TestSliceContains(t *testing.T) {
    14  	assert.False(t, SliceContains([]string{"a"}, "b"))
    15  }