MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / test_instructions

Function test_instructions

crates/opencode-session/src/system.rs:234–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232
233 #[test]
234 fn test_instructions() {
235 let inst = SystemPrompt::instructions();
236 assert!(!inst.is_empty());
237 // codex_header.txt starts with "You are OpenCode"
238 assert!(inst.starts_with("You are OpenCode"));
239 }
240
241 #[test]
242 fn test_system_reminder_wraps_content() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected