mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
test: remove redundant elide exact-limit case
This commit is contained in:
@@ -171,10 +171,6 @@ describe("web auto-reply util", () => {
|
||||
expect(elide("hi", 10)).toBe("hi");
|
||||
});
|
||||
|
||||
it("returns input when exactly at limit", () => {
|
||||
expect(elide("12345", 5)).toBe("12345");
|
||||
});
|
||||
|
||||
it("truncates and annotates when over limit", () => {
|
||||
expect(elide("abcdef", 3)).toBe("abc… (truncated 3 chars)");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user