mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 06:41:37 +00:00
test: remove duplicate non-date negative-case assertion
This commit is contained in:
@@ -792,7 +792,6 @@ describe("extractShortModelName", () => {
|
|||||||
|
|
||||||
it("preserves version numbers that look like dates but are not", () => {
|
it("preserves version numbers that look like dates but are not", () => {
|
||||||
// Date suffix must be exactly 8 digits at the end
|
// Date suffix must be exactly 8 digits at the end
|
||||||
expect(extractShortModelName("model-v1234567")).toBe("model-v1234567");
|
|
||||||
expect(extractShortModelName("model-123456789")).toBe("model-123456789");
|
expect(extractShortModelName("model-123456789")).toBe("model-123456789");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user