From d04b12f8139d6009ada15d308953562c37410303 Mon Sep 17 00:00:00 2001 From: Martin Holters Date: Thu, 19 Dec 2024 14:20:30 +0100 Subject: [PATCH] Fix a `warn` that should be a `@warn` in tests This warning hasn't been triggered in a while, so this has slipped through. --- test/runtests.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index b9b799e..fbb7f49 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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") @@ -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