chore(fmt): format composio conflict-resolution tests
This commit is contained in:
parent
58693ae5a1
commit
ef41f2ab10
1 changed files with 2 additions and 1 deletions
|
|
@ -855,7 +855,8 @@ mod tests {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn composio_action_with_null_fields() {
|
fn composio_action_with_null_fields() {
|
||||||
let json_str = r#"{"name": "TEST_ACTION", "appName": null, "description": null, "enabled": false}"#;
|
let json_str =
|
||||||
|
r#"{"name": "TEST_ACTION", "appName": null, "description": null, "enabled": false}"#;
|
||||||
let action: ComposioAction = serde_json::from_str(json_str).unwrap();
|
let action: ComposioAction = serde_json::from_str(json_str).unwrap();
|
||||||
assert_eq!(action.name, "TEST_ACTION");
|
assert_eq!(action.name, "TEST_ACTION");
|
||||||
assert!(action.app_name.is_none());
|
assert!(action.app_name.is_none());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue