The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(registry): sort assets before comparing manifests
Steven Enamakel738bdeab60b0
diff --git a/crates/openhuman-core/src/modules/registry_tests.rs b/crates/openhuman-core/src/modules/registry_tests.rsindex b022a48177..a3052c611d 100644--- a/crates/openhuman-core/src/modules/registry_tests.rs+++ b/crates/openhuman-core/src/modules/registry_tests.rs@@ -29,12 +29,13 @@ fn tinywallet_registry_matches_the_verified_v016_release_manifest() {"https://github.com/tinyhumansai/tinywallet/releases/tag/v0.16.0");- let actual = wallet+ let mut actual = wallet.assets.iter().map(|asset| (asset.host_key, asset.archive, asset.sha256)).collect::<Vec<_>>();- let published = [+ assert_eq!(wallet.assets.len(), 17);+ let mut published = [("archlinux-arm64","tinywallet-module-0.16.0-archlinux-arm64.tar.gz",@@ -121,6 +122,8 @@ fn tinywallet_registry_matches_the_verified_v016_release_manifest() {"44f5fc5764616645020c739edc6ba66744eaaa9455f6a39d1fe63257f3852372",),];+ actual.sort_unstable();+ published.sort_unstable();assert_eq!(actual, published);}