chore(repo): reinitialize repository
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package lane
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestRuntimeNamesIncludeTopicSuffix(t *testing.T) {
|
||||
topicID := "topic-20260317T030141Z-05c4bd6c9a45"
|
||||
|
||||
branch := DefaultBranchName("todo", topicID, "frontend-app")
|
||||
if branch != "lane/todo/frontend-app-05c4bd6c9a45" {
|
||||
t.Fatalf("unexpected branch name: %s", branch)
|
||||
}
|
||||
|
||||
worktree := DefaultWorktreePath("/tmp/inbox-worktrees/todo", "todo", topicID, "frontend-app")
|
||||
if worktree != "/tmp/inbox-worktrees/todo--frontend-app--05c4bd6c9a45" {
|
||||
t.Fatalf("unexpected worktree path: %s", worktree)
|
||||
}
|
||||
|
||||
container := DefaultContainerName("todo", topicID, "frontend-app")
|
||||
if container != "lane-todo-frontend-app-05c4bd6c9a45" {
|
||||
t.Fatalf("unexpected container name: %s", container)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user