From 82c67b19582fc5aeab0124d93155ab195936b05e Mon Sep 17 00:00:00 2001 From: Phillip Alday Date: Thu, 7 Nov 2024 21:55:27 -0600 Subject: [PATCH] test update --- test/pls.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pls.jl b/test/pls.jl index 1953236ea..4777d0728 100644 --- a/test/pls.jl +++ b/test/pls.jl @@ -530,8 +530,8 @@ end fm_mod = deepcopy(fm) fm_mod.optsum.fmin += 1 saveoptsum(seekstart(io), fm_mod) - @test_throws(ArgumentError("model m at final does not give stored fmin within given tolerances"), - restoreoptsum!(m, seekstart(io))) + @test_throws(ArgumentError("model at final does not give stored fmin within atol=0.0, rtol=1.0e-8"), + restoreoptsum!(m, seekstart(io); atol=0.0, rtol=1e-8)) restoreoptsum!(m, seekstart(io); atol=1) @test m.optsum.fmin - fm.optsum.fmin ≈ 1