mirror of https://github.com/openclaw/openclaw.git
test: remove redundant elide exact-limit case
This commit is contained in:
parent
b7a20d8e8d
commit
52ddaed795
|
|
@ -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)");
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue