Update test coverage

This commit is contained in:
Veronica Berglyd Olsen
2024-02-15 21:34:19 +01:00
parent 25b6d1c001
commit 76864f2a2f
4 changed files with 81 additions and 50 deletions
+1
View File
@@ -507,6 +507,7 @@ def testGuiMain_Editing(qtbot, monkeypatch, nwGUI, projPath, tstPaths, mockRnd):
errPos = currPos - 13
if not sys.platform.startswith("win32"):
# Skip on Windows as spell checking is off there
# This check will fail without an 'en' dictionary, like aspell-en
word, cPos, cLen, suggest = docEditor._qDocument.spellErrorAtPos(errPos)
assert word == "tesst"
assert cPos == 15