Skip to content

Commit

Permalink
Fix failing persistent task example in doc (#283)
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
  • Loading branch information
jishnub and lgoettgens authored Apr 8, 2024
1 parent ee2d9a8 commit e028c08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/src/persistent_tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ end)
Here is an example test with a dummy expr which will obviously fail, because it's explicitly
spawning a Task that never dies.
```@repl
Aqua.test_persistent_tasks(Aqua, quote
using Aqua
Aqua.test_persistent_tasks(Aqua, expr = quote
Threads.@spawn while true sleep(0.5) end
end
end)
```

## How the test works
Expand Down

0 comments on commit e028c08

Please sign in to comment.