docs: Remove sibling product and lab path leaks

Outsiders reading this module should not see private sibling
names (tradey), unfinished rewire notes, or /fast/projects
lab paths. Keep the library self-contained in README, design,
plan, and test fixtures/identity strings.
This commit is contained in:
s1d3sw1ped_bot
2026-09-01 19:43:35 +00:00
parent 6d02894e5f
commit 9e711957c0
7 changed files with 74 additions and 74 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ func TestConnect_rpcFallback(t *testing.T) {
if err := auth.WriteTokens(path, "tok", ""); err != nil {
t.Fatal(err)
}
api, err := rh.Connect(t.Context(), rh.Config{URL: s.URL, TokenFile: path, Name: "tradey"})
api, err := rh.Connect(t.Context(), rh.Config{URL: s.URL, TokenFile: path, Name: "example-app"})
if err != nil {
t.Fatal(err)
}
@@ -67,7 +67,7 @@ func TestConnect_canceledContext(t *testing.T) {
}
ctx, cancel := context.WithCancel(t.Context())
cancel()
api, err := rh.Connect(ctx, rh.Config{URL: "http://127.0.0.1:1", TokenFile: path, Name: "tradey"})
api, err := rh.Connect(ctx, rh.Config{URL: "http://127.0.0.1:1", TokenFile: path, Name: "example-app"})
if api != nil {
t.Fatal("expected nil API")
}
@@ -84,7 +84,7 @@ func TestConnect_deadlineExceeded(t *testing.T) {
}
ctx, cancel := context.WithDeadline(t.Context(), time.Now().Add(-time.Second))
defer cancel()
api, err := rh.Connect(ctx, rh.Config{URL: "http://127.0.0.1:1", TokenFile: path, Name: "tradey"})
api, err := rh.Connect(ctx, rh.Config{URL: "http://127.0.0.1:1", TokenFile: path, Name: "example-app"})
if api != nil {
t.Fatal("expected nil API")
}