huskies: merge 1009
This commit is contained in:
@@ -30,7 +30,7 @@ pub(super) fn find_active_story_stage(
|
||||
if let Ok(Some(item)) = crate::pipeline_state::read_typed(story_id)
|
||||
&& matches!(
|
||||
item.stage,
|
||||
crate::pipeline_state::Stage::Coding
|
||||
crate::pipeline_state::Stage::Coding { .. }
|
||||
| crate::pipeline_state::Stage::Qa
|
||||
| crate::pipeline_state::Stage::Merge { .. }
|
||||
)
|
||||
@@ -56,7 +56,7 @@ mod tests {
|
||||
let tmp = tempfile::tempdir().unwrap();
|
||||
assert!(matches!(
|
||||
find_active_story_stage(tmp.path(), "10_story_test"),
|
||||
Some(crate::pipeline_state::Stage::Coding)
|
||||
Some(crate::pipeline_state::Stage::Coding { .. })
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user