(t *testing.T)
| 983 | } |
| 984 | |
| 985 | func TestGetWorkflowStatus(t *testing.T) { |
| 986 | |
| 987 | // Test with non-existent workflow |
| 988 | _, err := getWorkflowStatus("nonexistent-workflow", "", false) |
| 989 | if err == nil { |
| 990 | t.Error("getWorkflowStatus should return error for non-existent workflow") |
| 991 | } |
| 992 | |
| 993 | // Test with empty workflow name |
| 994 | _, err = getWorkflowStatus("", "", false) |
| 995 | if err == nil { |
| 996 | t.Error("getWorkflowStatus should return error for empty workflow name") |
| 997 | } |
| 998 | } |
nothing calls this directly
no test coverage detected