Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_truncate_short
Function
test_truncate_short
atomic-agent/src/transcript/tests.rs:676–678 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
674
675
#[test]
676
fn test_truncate_short() {
677
assert_eq!(truncate_for_display(
"hello"
, 100),
"hello"
);
678
}
679
680
#[test]
681
fn test_truncate_long() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected