Skip to content

Commit

Permalink
feat(oca-dag): Support flagged attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
mitfik committed Jan 11, 2024
1 parent f19ba4d commit 1b2ea07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oca-dag/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ mod tests {
"abc".to_string() => ast::NestedAttrType::Value(ast::AttributeType::Text)
}),
properties: None,
flagged_attributes: None,
}),
});

Expand Down Expand Up @@ -210,6 +211,7 @@ mod tests {
"def".to_string() => ast::NestedAttrType::Value(ast::AttributeType::Text)
}),
properties: None,
flagged_attributes: None,
}),
});

Expand Down
2 changes: 2 additions & 0 deletions oca-dag/src/versioning/ocafile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ mod tests {
object_kind: ast::ObjectKind::CaptureBase(CaptureContent {
attributes: Some(attributes),
properties: None,
flagged_attributes: None,
}),
});

Expand Down Expand Up @@ -265,6 +266,7 @@ mod tests {
object_kind: ast::ObjectKind::CaptureBase(CaptureContent {
attributes: Some(attributes),
properties: None,
flagged_attributes: None,
}),
});

Expand Down
2 changes: 2 additions & 0 deletions oca-dag/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fn generate_commands() -> Vec<ast::Command> {
object_kind: ast::ObjectKind::CaptureBase(ast::CaptureContent {
attributes: None,
properties: None,
flagged_attributes: None,
}),
});

Expand All @@ -35,6 +36,7 @@ fn generate_commands() -> Vec<ast::Command> {
object_kind: ast::ObjectKind::CaptureBase(ast::CaptureContent {
attributes: Some(attributes),
properties: Some(properties),
flagged_attributes: None,
}),
});

Expand Down

0 comments on commit 1b2ea07

Please sign in to comment.