From 5a6dd3e653a5daa2b04332225030322a98d36773 Mon Sep 17 00:00:00 2001 From: James Fairbanks Date: Sun, 5 Nov 2023 12:12:35 -0500 Subject: [PATCH] TST: update test to check for prealloc caches --- test/simulation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simulation.jl b/test/simulation.jl index 94c84356..b5ef4633 100644 --- a/test/simulation.jl +++ b/test/simulation.jl @@ -478,6 +478,6 @@ end # arbitrary internal variable naming. @test budyko_sellers[only(incident(budyko_sellers, Symbol("•1"), :name)), :type] == :DualForm0 # A dual 0-form consists of ne(s) floats. - @test occursin("var\"•1\" = Vector{Float64}(undef, nparts(mesh, :E))", + @test occursin("var\"__•1\" = Decapodes.FixedSizeDiffCache(Vector{Float64}(undef, nparts(mesh, :E)))", repr(gensim(budyko_sellers, dimension=1))) end