diff --git a/tests/texmode.nim b/tests/texmode.nim index 1154351f3..543033945 100644 --- a/tests/texmode.nim +++ b/tests/texmode.nim @@ -1121,6 +1121,8 @@ suite "Ex mode: Quickrun command without file": check not timeout test "Exec Quickrun without file twice": + for d in walkDir("./"): echo d + var status = initEditorStatus() status.settings.lsp.enable = false discard status.addNewBufferInCurrentWin.get @@ -1172,8 +1174,8 @@ suite "Ex mode: Quickrun command without file": for _ in 0 .. 20: sleep 500 if status.backgroundTasks.quickRun[0].isFinish: - let r = status.backgroundTasks.quickRun[0].result.get - check r[^1] == "2" + let r = status.backgroundTasks.quickRun[0].result + check r.get[^1] == "2" timeout = false break