MCPcopy Create free account
hub / github.com/github/gh-aw / TestPromptForWorkflowNameFrom_Invalid

Function TestPromptForWorkflowNameFrom_Invalid

pkg/cli/interactive_test.go:899–905  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

897}
898
899func TestPromptForWorkflowNameFrom_Invalid(t *testing.T) {
900 b := &InteractiveWorkflowBuilder{}
901 err := b.promptForWorkflowNameFrom(strings.NewReader("invalid name!\n"))
902 if err == nil {
903 t.Fatal("expected error for invalid workflow name, got nil")
904 }
905}
906
907func TestPromptForWorkflowNameFrom_Empty(t *testing.T) {
908 b := &InteractiveWorkflowBuilder{}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected