Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(artifacts): wrap long lines in production tests

Steven Enamakel27d8108367cb
diff --git a/crates/openhuman-core/src/artifacts/production_tests.rs b/crates/openhuman-core/src/artifacts/production_tests.rs
index 77e92573e6..38263b663b 100644
--- a/crates/openhuman-core/src/artifacts/production_tests.rs
+++ b/crates/openhuman-core/src/artifacts/production_tests.rs
@@ -92,7 +92,12 @@ async fn a_new_artifact_shares_one_id_and_one_file_between_card_and_record() {
let expected_key = format!("artifacts/files/{id}/v1.pptx");
assert_eq!(file.key, expected_key);
let kept = crate::artifacts::tiny_store::stored_file_path(&workspace, &file);
- assert_eq!(kept, crate::artifacts::tiny_store::version_files_dir(&workspace).join(&id).join("v1.pptx"));
+ assert_eq!(
+ kept,
+ crate::artifacts::tiny_store::version_files_dir(&workspace)
+ .join(&id)
+ .join("v1.pptx")
+ );
assert_eq!(
files_in(&files),
vec!["quarterly-deck.pptx"],
@@ -122,7 +127,9 @@ async fn a_revision_reuses_the_id_and_file_and_keeps_the_history() {
// Each version still holds what it was.
let bytes_of = |n: u32| {
let file = record.version(n).unwrap().file.clone().unwrap();
- std::fs::read(crate::artifacts::tiny_store::stored_file_path(&workspace, &file))
+ std::fs::read(crate::artifacts::tiny_store::stored_file_path(
+ &workspace, &file,
+ ))
};
assert_eq!(bytes_of(1).unwrap(), b"deck-v1");
assert_eq!(bytes_of(2).unwrap(), b"deck-v2!");