Skip to content

Commit

Permalink
Fix a warn that should be a @warn in tests
Browse files Browse the repository at this point in the history
This warning hasn't been triggered in a while, so this has slipped through.
  • Loading branch information
martinholters committed Dec 19, 2024
1 parent e7117c1 commit d04b12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Martin Holters
# Copyright 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 Martin Holters
# See accompanying license file.

include("checklic.jl")
Expand Down Expand Up @@ -711,7 +711,7 @@ end
run!(runner, y, u)
alloc = @allocated run!(runner, y, u)
if alloc > 0
warn("Allocated $alloc in run! of HomotopySolver{SimpleSolver} base ModelRunner")
@warn "Allocated $alloc in run! of HomotopySolver{SimpleSolver} base ModelRunner"
end
end

Expand Down

0 comments on commit d04b12f

Please sign in to comment.