Skip to content

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

test(prompts): adjust tier marker fixtures to match trimming behaviour

Steven Enamakel412fb711d9ea
diff --git a/crates/openhuman-core/src/agent/prompts/mod_tests.rs b/crates/openhuman-core/src/agent/prompts/mod_tests.rs
index 0d13ab846c..caf8002615 100644
--- a/crates/openhuman-core/src/agent/prompts/mod_tests.rs
+++ b/crates/openhuman-core/src/agent/prompts/mod_tests.rs
@@ -167,9 +167,9 @@ fn legacy_dynamic_tier_markers_preserve_literal_body_slices() {
(PromptTier::Volatile, "é stable\n".to_string()),
(
PromptTier::Context,
- "\r\n\n<!--prompt-tier:unknown-->\n".to_string(),
+ "\n<!--prompt-tier:unknown-->\n".to_string(),
),
- (PromptTier::Volatile, "\n📎 tail".to_string()),
+ (PromptTier::Volatile, "📎 tail".to_string()),
],
"markers are trimmed only for recognition; the remaining bytes retain their original line endings and unknown comments"
);