From 67f9365b92a3eb2b883a776f8cc787fe5af2804f Mon Sep 17 00:00:00 2001 From: Jago Stong-Wright Date: Mon, 11 Sep 2023 15:57:21 +0100 Subject: [PATCH] fixed test labelling --- test/test_LOBSTER.jl | 4 ++-- test/test_NPZD.jl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_LOBSTER.jl b/test/test_LOBSTER.jl index c7390d616..2c4cfe305 100644 --- a/test/test_LOBSTER.jl +++ b/test/test_LOBSTER.jl @@ -118,8 +118,8 @@ grid = RectilinearGrid(architecture; size=(1, 1, 1), extent=(1, 1, 2)) for open_bottom = (false, true), sinking = (false, true), variable_redfield = (false, true), oxygen = (false, true), carbonates = (false, true) if !(sinking && open_bottom) # no sinking is the same with and without open bottom - @info "Testing on $(typeof(arch)) with carbonates $(carbonates ? :✅ : :❌), oxygen $(oxygen ? :✅ : :❌), variable redfield $(variable_redfield ? :✅ : :❌), sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))" - @testset "$arch, $carbonates, $oxygen, $variable_redfield, $sinking, $open_bottom" begin + @info "Testing on $(typeof(architecture)) with carbonates $(carbonates ? :✅ : :❌), oxygen $(oxygen ? :✅ : :❌), variable redfield $(variable_redfield ? :✅ : :❌), sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))" + @testset "$architecture, $carbonates, $oxygen, $variable_redfield, $sinking, $open_bottom" begin test_LOBSTER(grid, carbonates, oxygen, variable_redfield, sinking, open_bottom, n_timesteps) end end diff --git a/test/test_NPZD.jl b/test/test_NPZD.jl index 945070fb1..d7e8d156a 100644 --- a/test/test_NPZD.jl +++ b/test/test_NPZD.jl @@ -51,8 +51,8 @@ grid = RectilinearGrid(architecture; size=(3, 3, 6), extent=(1, 1, 2)) for sinking = (false, true), open_bottom = (false, true) if !(sinking && open_bottom) # no sinking is the same with and without open bottom - @info "Testing on $(typeof(arch)) with sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))" - @testset "$arch, $sinking, $open_bottom" begin + @info "Testing on $(typeof(architecture)) with sinking $(sinking ? :✅ : :❌), open bottom $(open_bottom ? :✅ : :❌))" + @testset "$architecture, $sinking, $open_bottom" begin test_NPZD(grid, sinking, open_bottom) end end