MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / test_env_state

Function test_env_state

crates/chat-cli/src/cli/chat/message.rs:566–571  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

564
565 #[test]
566 fn test_env_state() {
567 let env_state = build_env_state();
568 assert!(env_state.current_working_directory.is_some());
569 assert!(env_state.operating_system.as_ref().is_some_and(|os| !os.is_empty()));
570 println!("{env_state:?}");
571 }
572
573 #[test]
574 fn test_user_input_message_timestamp_formatting() {

Callers

nothing calls this directly

Calls 1

build_env_stateFunction · 0.85

Tested by

no test coverage detected