瀏覽代碼

correct the comment

namnguyen 10 月之前
父節點
當前提交
3de0dcdf20
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/taipy-gui/src/components/Taipy/Input.spec.tsx

+ 1 - 1
frontend/taipy-gui/src/components/Taipy/Input.spec.tsx

@@ -251,7 +251,7 @@ describe("Number Component", () => {
         const elt = getByDisplayValue("20") as HTMLInputElement;
         await user.click(elt);
         await user.keyboard("[ShiftLeft>]");
-        // Press the arrow up twice to validate that the value will not exceed the minimum value when reached
+        // Press the arrow down twice to validate that the value will not exceed the minimum value when reached
         await user.keyboard("[ArrowDown]");
         await user.keyboard("[ArrowDown]");
         expect(elt.value).toBe("0");