moadim 1.7.2

Loop engine for AI agents — routines over REST, MCP, and a built-in web UI
1
2
3
4
5
6
7
8
9
use super::*;

#[test]
fn current_exe_error_formats_the_path_failure() {
    let err = current_exe_path(|| Err(std::io::Error::other("boom"))).unwrap_err();
    assert!(err
        .to_string()
        .contains("failed to resolve current executable path: boom"));
}