(t *testing.T)
| 1578 | } |
| 1579 | |
| 1580 | func TestReadSourceRepoFromFile_ShortSource(t *testing.T) { |
| 1581 | dir := t.TempDir() |
| 1582 | f := filepath.Join(dir, "wf.md") |
| 1583 | content := "---\nsource: only-one-segment\n---\n# Workflow\n" |
| 1584 | require.NoError(t, os.WriteFile(f, []byte(content), 0644)) |
| 1585 | assert.Empty(t, readSourceRepoFromFile(f), "should return empty string for malformed source") |
| 1586 | } |
| 1587 | |
| 1588 | // --------------------------------------------------------------------------- |
| 1589 | // fetchAndSaveRemoteDispatchWorkflows — conflict detection |
nothing calls this directly
no test coverage detected