summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/go/path_test.go
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-12-07 15:52:27 -0500
committerDax Raad <[email protected]>2025-12-07 15:52:27 -0500
commit13b2cf50aeb791f4b47786f95c8572a5caa75c7e (patch)
treecea24f522f7e0de330475bf0be7803cdf1a33371 /packages/sdk/go/path_test.go
parent93b0abfce9660c4da21026b138857bf408aa4cae (diff)
downloadopencode-13b2cf50aeb791f4b47786f95c8572a5caa75c7e.tar.gz
opencode-13b2cf50aeb791f4b47786f95c8572a5caa75c7e.zip
remove outdated SDKs
Diffstat (limited to 'packages/sdk/go/path_test.go')
-rw-r--r--packages/sdk/go/path_test.go38
1 files changed, 0 insertions, 38 deletions
diff --git a/packages/sdk/go/path_test.go b/packages/sdk/go/path_test.go
deleted file mode 100644
index 08273ce32..000000000
--- a/packages/sdk/go/path_test.go
+++ /dev/null
@@ -1,38 +0,0 @@
-// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-package opencode_test
-
-import (
- "context"
- "errors"
- "os"
- "testing"
-
- "github.com/sst/opencode-sdk-go"
- "github.com/sst/opencode-sdk-go/internal/testutil"
- "github.com/sst/opencode-sdk-go/option"
-)
-
-func TestPathGetWithOptionalParams(t *testing.T) {
- t.Skip("Prism tests are disabled")
- baseURL := "http://localhost:4010"
- if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
- baseURL = envURL
- }
- if !testutil.CheckTestServer(t, baseURL) {
- return
- }
- client := opencode.NewClient(
- option.WithBaseURL(baseURL),
- )
- _, err := client.Path.Get(context.TODO(), opencode.PathGetParams{
- Directory: opencode.F("directory"),
- })
- if err != nil {
- var apierr *opencode.Error
- if errors.As(err, &apierr) {
- t.Log(string(apierr.DumpRequest(true)))
- }
- t.Fatalf("err should be nil: %s", err.Error())
- }
-}