diff --git a/editor/libeditor/tests/test_bug430392.html b/editor/libeditor/tests/test_bug430392.html index 980eed6fb87a..4e45586ab09b 100644 --- a/editor/libeditor/tests/test_bug430392.html +++ b/editor/libeditor/tests/test_bug430392.html @@ -34,7 +34,6 @@ function test() { var tests = [["adding returns", () => { getSelection().collapse(edit.firstChild, 0); synthesizeKey("VK_RIGHT", {}); - synthesizeKey("VK_RIGHT", {}); synthesizeKey("VK_RETURN", {}); synthesizeKey("VK_RETURN", {}); synthesizeKey("VK_BACK_SPACE", {}); @@ -45,7 +44,6 @@ function test() { ["adding shift-returns", () => { getSelection().collapse(edit.firstChild, 0); synthesizeKey("VK_RIGHT", {}); - synthesizeKey("VK_RIGHT", {}); synthesizeKey("VK_RETURN", {shiftKey: true}); synthesizeKey("VK_RETURN", {shiftKey: true}); synthesizeKey("VK_BACK_SPACE", {});