Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

test(workspace): a Go 1.22 root pattern is kept as GET / (#4578)

Raghav Chamadiya358b8e7b5068
diff --git a/tests/unit/workspace/test_go_route_frameworks.py b/tests/unit/workspace/test_go_route_frameworks.py
index 51b798bd8..b0f4cbd2f 100644
--- a/tests/unit/workspace/test_go_route_frameworks.py
+++ b/tests/unit/workspace/test_go_route_frameworks.py
@@ -265,6 +265,7 @@ class TestGo122Patterns:
]
assert _provided(src) == [
("http::*::/files/{param}", 3, "files"),
+ ("http::GET::/", 4, "home"),
("http::GET::/items/{param}", 1, "getItem"),
("http::POST::/items", 2, "createItem"),
]