Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
taniabogatsch committed Sep 10, 2024
1 parent bc5ba8d commit 9b99a4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions profiling.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package duckdb
#include <duckdb.h>
*/
import "C"

import (
"unsafe"
)
Expand Down
9 changes: 5 additions & 4 deletions profiling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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")
}

0 comments on commit 9b99a4b

Please sign in to comment.