Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_truncate_prompt_short
Function
test_truncate_prompt_short
atomic-agent/src/record/tests.rs:46–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
45
#[test]
46
fn test_truncate_prompt_short() {
47
assert_eq!(truncate_prompt(
"hello"
, 72),
"hello"
);
48
}
49
50
#[test]
51
fn test_truncate_prompt_exact() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected