Skip to content
Prev Previous commit
Next Next commit
Fix CompileWorkflows test to expect successful compilation of existin…
…g markdown files
  • Loading branch information
pelikhan committed Aug 12, 2025
commit 0b7fab6b57338e0d4d54913d1d457e80404a27fd
2 changes: 1 addition & 1 deletion pkg/cli/commands_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func TestAllCommandsExist(t *testing.T) {
}{
{func() error { return ListWorkflows(false) }, false, "ListWorkflows"},
{func() error { return AddWorkflow("", 1, false, "", "", false) }, false, "AddWorkflow (empty name)"}, // Shows help when empty, doesn't error
{func() error { return CompileWorkflows("", false, "", false, false, false, false) }, true, "CompileWorkflows"}, // Should error when no markdown files exist
{func() error { return CompileWorkflows("", false, "", false, false, false, false) }, false, "CompileWorkflows"}, // Should compile existing markdown files successfully
{func() error { return RemoveWorkflows("test", false) }, false, "RemoveWorkflows"}, // Should handle missing directory gracefully
{func() error { return StatusWorkflows("test", false) }, false, "StatusWorkflows"}, // Should handle missing directory gracefully
{func() error { return EnableWorkflows("test") }, false, "EnableWorkflows"}, // Should handle missing directory gracefully
Expand Down