github.com/Accefy/pop@v0.0.0-20230428174248-e9f677eab5b9/connection_instrumented_nosqlite_test.go (about)

     1  // +build !sqlite
     2  
     3  package pop
     4  
     5  import (
     6  	"testing"
     7  
     8  	"github.com/stretchr/testify/require"
     9  )
    10  
    11  func TestInstrumentation_WithoutSqlite(t *testing.T) {
    12  	_, _, err := instrumentDriver(&ConnectionDetails{
    13  		URL: "sqlite://:memory:",
    14  	}, "sqlite")
    15  	require.NoError(t, err)
    16  }