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
chore(voice): remove redundant compile-status and serde round-trip tests
Steven Enamakel0fc654eea7b9
diff --git a/crates/openhuman-core/src/voice/compile_status_tests.rs b/crates/openhuman-core/src/voice/compile_status_tests.rsindex 72962ee647..6067f93519 100644--- a/crates/openhuman-core/src/voice/compile_status_tests.rs+++ b/crates/openhuman-core/src/voice/compile_status_tests.rs@@ -8,18 +8,3 @@ fn reports_the_compiled_gate_state() {assert_eq!(VOICE_COMPILED_IN, cfg!(feature = "voice"));}-/// The default build ships voice; this is the state the desktop app-/// requires (#4901). Skipped when the slim build is under test.-#[test]-#[cfg(feature = "voice")]-fn is_true_when_the_voice_feature_is_on() {- assert!(VOICE_COMPILED_IN);-}--/// The slim build must report honestly, otherwise the shell's const assert-/// would pass against a stubbed core and #4901 could ship again.-#[test]-#[cfg(not(feature = "voice"))]-fn is_false_when_the_voice_feature_is_off() {- assert!(!VOICE_COMPILED_IN);-}diff --git a/crates/openhuman-core/src/voice/types_tests.rs b/crates/openhuman-core/src/voice/types_tests.rsindex 7b3efa0fb4..a02d44fd53 100644--- a/crates/openhuman-core/src/voice/types_tests.rs+++ b/crates/openhuman-core/src/voice/types_tests.rs@@ -71,16 +71,3 @@ fn from_local_ai_tts_result() {assert_eq!(voice.voice_id, "voice1");}-#[test]-fn serde_round_trip_speech_result() {- let original = VoiceSpeechResult {- text: "round trip".into(),- raw_text: "round trip uh".into(),- model_id: "model".into(),- };- let json = serde_json::to_string(&original).unwrap();- let decoded: VoiceSpeechResult = serde_json::from_str(&json).unwrap();- assert_eq!(decoded.text, original.text);- assert_eq!(decoded.raw_text, original.raw_text);- assert_eq!(decoded.model_id, original.model_id);-}