diff --git a/profiling.go b/profiling.go index 4292a344..c3eb1f00 100644 --- a/profiling.go +++ b/profiling.go @@ -4,6 +4,7 @@ package duckdb #include */ import "C" + import ( "unsafe" ) diff --git a/profiling_test.go b/profiling_test.go index 7e6d0e00..c07c467c 100644 --- a/profiling_test.go +++ b/profiling_test.go @@ -4,8 +4,9 @@ import ( "context" "database/sql" "fmt" - "github.com/stretchr/testify/require" "testing" + + "github.com/stretchr/testify/require" ) func TestProfiling(t *testing.T) { @@ -40,7 +41,7 @@ func TestProfiling(t *testing.T) { // Verify the metrics. // TODO: currently failing due to C API bug. fmt.Println(info) // Dummy print to use variable. - //require.NotEmpty(t, info.Metrics, "metrics must not be empty") - //require.NotEmpty(t, info.Children, "children must not be empty") - //require.NotEmpty(t, info.Children[0].Metrics, "child metrics must not be empty") + // require.NotEmpty(t, info.Metrics, "metrics must not be empty") + // require.NotEmpty(t, info.Children, "children must not be empty") + // require.NotEmpty(t, info.Children[0].Metrics, "child metrics must not be empty") }