Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fox0430 committed Oct 24, 2024
1 parent 09ceffc commit 63c9cc8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/texmode.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 63c9cc8

Please sign in to comment.