mirror of https://github.com/openclaw/openclaw.git
test: remove duplicate multi-variable template check case
This commit is contained in:
parent
523193a91f
commit
deef9f91bf
|
|
@ -817,10 +817,6 @@ describe("hasTemplateVariables", () => {
|
|||
expect(hasTemplateVariables("prefix {thinkingLevel} suffix")).toBe(true);
|
||||
});
|
||||
|
||||
it("returns true for multiple variables", () => {
|
||||
expect(hasTemplateVariables("[{model} | {provider}]")).toBe(true);
|
||||
});
|
||||
|
||||
it("handles consecutive calls correctly (regex lastIndex reset)", () => {
|
||||
// First call
|
||||
expect(hasTemplateVariables("[{model}]")).toBe(true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue