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:
+2
-2
@@ -3,8 +3,8 @@ package auth
|
||||
import "testing"
|
||||
|
||||
func TestOAuthIdentity(t *testing.T) {
|
||||
gotN, gotV := oauthIdentity(Config{Name: "tradey", Version: "0.9"})
|
||||
if gotN != "tradey" || gotV != "0.9" {
|
||||
gotN, gotV := oauthIdentity(Config{Name: "example-app", Version: "0.9"})
|
||||
if gotN != "example-app" || gotV != "0.9" {
|
||||
t.Fatalf("%s %s", gotN, gotV)
|
||||
}
|
||||
gotN, gotV = oauthIdentity(Config{})
|
||||
|
||||
Reference in New Issue
Block a user