Replace normalize stage with trim scaffold
This commit is contained in:
@@ -61,7 +61,7 @@ func TestExecuteStagesPlaceholderSuccessUpdatesManifest(t *testing.T) {
|
||||
t.Fatalf("Load manifest error = %v", err)
|
||||
}
|
||||
|
||||
for _, name := range []string{"prepare", "transcribe", "normalize", "merge", "polish", "analyze", "archive", "notify"} {
|
||||
for _, name := range []string{"prepare", "transcribe", "merge", "polish", "trim", "analyze", "archive", "notify"} {
|
||||
sr := m.Stages[name]
|
||||
if sr == nil {
|
||||
t.Fatalf("missing stage record %q", name)
|
||||
@@ -238,8 +238,8 @@ func TestExecuteStagesFailureUpdatesManifest(t *testing.T) {
|
||||
if got := m.Stages["transcribe"]; got == nil || got.Status != manifest.StatusFailed {
|
||||
t.Fatalf("transcribe status = %#v, want failed", got)
|
||||
}
|
||||
if got := m.Stages["normalize"]; got != nil {
|
||||
t.Fatalf("normalize should not run, got %#v", got)
|
||||
if got := m.Stages["merge"]; got != nil {
|
||||
t.Fatalf("merge should not run, got %#v", got)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user