Skip to content

Commit

Permalink
moved pkg/test to internal/test
Browse files Browse the repository at this point in the history
  • Loading branch information
conneroisu committed Jan 9, 2025
1 parent 3675792 commit 0c838da
Show file tree
Hide file tree
Showing 32 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion cmd/generate-models/template.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import (
"time"

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"

_ "embed"
Expand Down
2 changes: 1 addition & 1 deletion examples/composio-github-star/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/extensions/composio"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/toolhouse-python-code-interpreter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/extensions/toolhouse"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion extensions/composio/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/composio"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/composio/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/extensions/composio"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/conneroisu/groq-go/pkg/tools"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion extensions/composio/tools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/composio"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/e2b/sandbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync"
"testing"

"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/gorilla/websocket"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion extensions/e2b/tools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/e2b/unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/conneroisu/groq-go/extensions/e2b"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/jigsawstack/audio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/jigsawstack"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/jigsawstack/natural_language_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/jigsawstack"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/jigsawstack/prompt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/jigsawstack"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/jigsawstack/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/jigsawstack"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/jigsawstack/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/jigsawstack"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/jigsawstack/web_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/jigsawstack"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/toolhouse/execute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/extensions/toolhouse"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/conneroisu/groq-go/pkg/tools"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion extensions/toolhouse/toolhouse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/extensions/toolhouse"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion extensions/toolhouse/tools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/extensions/toolhouse"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/conneroisu/groq-go/pkg/tools"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion inference_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"testing"

"github.com/conneroisu/groq-go/pkg/builders"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/conneroisu/groq-go/pkg/tools"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/streams/stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/internal/streams"
"github.com/conneroisu/groq-go/pkg/groqerr"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/test/failer_test.go → internal/test/failer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"errors"
"testing"

"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
)

// TestErrTestErrorAccumulatorWriteFailed_Error tests the Error method of ErrTestErrorAccumulatorWriteFailed.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pkg/test/helpers_test.go → internal/test/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"testing"

"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion models_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/conneroisu/groq-go"
"github.com/conneroisu/groq-go/pkg/groqerr"
"github.com/conneroisu/groq-go/pkg/test"
"github.com/conneroisu/groq-go/internal/test"
"github.com/stretchr/testify/assert"
)

Expand Down

0 comments on commit 0c838da

Please sign in to comment.