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

Function test_table_truncation

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

Source from the content-addressed store, hash-verified

804
805 #[test]
806 fn test_table_truncation() {
807 let truncated = Table::truncate("Hello, World!", 8);
808 assert_eq!(truncated, "Hello...");
809 }
810
811 #[test]
812 fn test_table_truncation_no_need() {

Callers

nothing calls this directly

Calls 1

truncateFunction · 0.85

Tested by

no test coverage detected