Skip to content

Commit 99dd7be

Browse files
authored
style: Fix "File content differs from formatting output" (Acode-Foundation#2744)
1 parent 1123cec commit 99dd7be

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/test/editor.tests.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,10 @@ export async function runCodeMirrorTests(writeOutput) {
841841
test.assertEqual(view.state.doc.toString(), doc);
842842
test.assertEqual(view.state.selection.main.from, from);
843843
test.assertEqual(view.state.selection.main.to, to);
844-
test.assert(!view.hasFocus, "Read-only Copy must not focus the editor");
844+
test.assert(
845+
!view.hasFocus,
846+
"Read-only Copy must not focus the editor",
847+
);
845848

846849
quickToolsActions("ctrl");
847850
dispatchQuickToolsTextInput("x");
@@ -855,7 +858,10 @@ export async function runCodeMirrorTests(writeOutput) {
855858
test.assertEqual(view.state.doc.toString(), doc);
856859
test.assertEqual(view.state.selection.main.from, from);
857860
test.assertEqual(view.state.selection.main.to, to);
858-
test.assert(!view.hasFocus, "Read-only Shift must remain unfocused");
861+
test.assert(
862+
!view.hasFocus,
863+
"Read-only Shift must remain unfocused",
864+
);
859865
} finally {
860866
clipboard.copy = originalCopy;
861867
clearQuickToolsModifierState();

0 commit comments

Comments
 (0)