MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_table_truncation_very_short

Function test_table_truncation_very_short

atomic-cli/src/output/table.rs:818–821  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

816
817 #[test]
818 fn test_table_truncation_very_short() {
819 let truncated = Table::truncate("Hello", 2);
820 assert_eq!(truncated, "..");
821 }
822
823 // -------------------------------------------------------------------------
824 // KeyValueTable Tests

Callers

nothing calls this directly

Calls 1

truncateFunction · 0.85

Tested by

no test coverage detected