diff --git a/README.md b/README.md index a7e5ee6..2db7c23 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Building -First, clone the repository, and then run the following command to auto-generate models using OpenAPI specifications: +First, clone the repository, and then run the following command to automatically generate models using OpenAPI specifications: ``` bash ./build-models.sh ``` diff --git a/lib/src/tes/mod.rs b/lib/src/tes/mod.rs index e68d9b1..1a78a34 100644 --- a/lib/src/tes/mod.rs +++ b/lib/src/tes/mod.rs @@ -265,8 +265,8 @@ mod tests { setup(); let (task, _tes) = create_task().await.expect("Failed to create task"); - assert!(!task.id.clone().is_empty(), "Task ID should not be empty"); // doube check if it's a correct assertion - + assert!(!task.id.is_empty(), "Task ID should not be empty"); + let status = task.status().await; match status { Ok(state) => {