Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

style: fix gofmt formatting

Bosch05f1a00297cf
diff --git a/tests/integration/main_test.go b/tests/integration/main_test.go
index f9257047..1ef1f4bd 100644
--- a/tests/integration/main_test.go
+++ b/tests/integration/main_test.go
@@ -96,11 +96,13 @@ func waitForInstanceReady(t *testing.T, instID string) {
// Backward-compatible wrappers — delegate to testutil.Client.
// Existing tests use these package-level functions; new tests should use client.* directly.
-func httpGet(t *testing.T, path string) (int, []byte) { return client.Get(t, path) }
+func httpGet(t *testing.T, path string) (int, []byte) { return client.Get(t, path) }
func httpPost(t *testing.T, path string, p any) (int, []byte) { return client.Post(t, path, p) }
-func httpPostRaw(t *testing.T, path string, b string) (int, []byte) { return client.PostRaw(t, path, b) }
+func httpPostRaw(t *testing.T, path string, b string) (int, []byte) {
+ return client.PostRaw(t, path, b)
+}
func httpPostWithRetry(t *testing.T, path string, body any, retries int) (int, []byte) {
return client.PostWithRetry(t, path, body, retries)
}
func jsonField(t *testing.T, data []byte, key string) string { return testutil.JSONField(t, data, key) }
-func findRepoRoot() string { return testutil.FindRepoRoot() }
+func findRepoRoot() string { return testutil.FindRepoRoot() }
diff --git a/tests/testutil/server.go b/tests/testutil/server.go
index 0216b984..67eed19a 100644
--- a/tests/testutil/server.go
+++ b/tests/testutil/server.go
@@ -25,7 +25,7 @@ const (
// ServerConfig holds configuration for a test server instance.
type ServerConfig struct {
- Port string // Server port (default: "19867")
+ Port string // Server port (default: "19867")
Headless bool // Run Chrome headless (default: true)
Stealth string // Stealth level (default: "light")
}