From ef7a6524c36d62e05d77ea8c3bcc442f4f4454cc Mon Sep 17 00:00:00 2001 From: GiackAloZ Date: Mon, 14 Oct 2024 14:34:49 +0200 Subject: [PATCH] Fix parenthesis --- test/test_CellArray.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_CellArray.jl b/test/test_CellArray.jl index ac96034..a95f8d6 100644 --- a/test/test_CellArray.jl +++ b/test/test_CellArray.jl @@ -67,7 +67,7 @@ mutable struct MyMutableFieldArray{T} <: FieldArray{Tuple{2}, T, 1} end @testset "$(basename(@__FILE__))" begin - @testset "1. CellArray allocation ($array_type arrays) (precision: $(nameof(Float))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types) + @testset "1. CellArray allocation ($array_type arrays) (precision: $(nameof(Float)))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types) @testset "Number cells" begin dims = (2,3) A = CellArray{Float}(undef, dims) @@ -168,7 +168,7 @@ end @test D.dims == dims end; end; - @testset "2. functions ($array_type arrays) (precision: $(nameof(Float))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types) + @testset "2. functions ($array_type arrays) (precision: $(nameof(Float)))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types) dims = (2,3) celldims = (3,4) # Needs to be compatible for matrix multiplication! T_Float = SMatrix{celldims..., Float, prod(celldims)} @@ -322,7 +322,7 @@ end @test blocklength(H) == 4 end; end; - @testset "3. Exceptions ($array_type arrays) (precision: $(nameof(Float))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types) + @testset "3. Exceptions ($array_type arrays) (precision: $(nameof(Float)))" for (array_type, Array, CellArray, allowscalar, Float) in zip(array_types, ArrayConstructors, CellArrayConstructors, allowscalar_functions, precision_types) dims = (2,3) celldims = (3,4) T_Float = SMatrix{celldims..., Float, prod(celldims)}