Skip to content

Commit

Permalink
More JuliaFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Sep 11, 2023
1 parent 6364882 commit 49bbbb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module PersistentTask

const t = Ref{Any}()
__init__() = t[] = Timer(0.1; interval=1) # create a persistent `Timer` `Task`
__init__() = t[] = Timer(0.1; interval = 1) # create a persistent `Timer` `Task`

end # module PersistentTask
7 changes: 5 additions & 2 deletions test/test_persistent_tasks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ end
Aqua.test_persistent_tasks_deps(getid("TransientTask"))

if Base.VERSION >= v"1.10-"
Aqua.test_persistent_tasks(getid("PersistentTask"); fails=true)
Aqua.test_persistent_tasks_deps(getid("UsesBoth"); fails=Dict("PersistentTask" => true))
Aqua.test_persistent_tasks(getid("PersistentTask"); fails = true)
Aqua.test_persistent_tasks_deps(
getid("UsesBoth");
fails = Dict("PersistentTask" => true),
)
end
filter!(str -> !occursin("PersistentTasks", str), LOAD_PATH)
end
Expand Down

0 comments on commit 49bbbb4

Please sign in to comment.