From 8b91e3a9e20a8150bf1891035e22fb71532f9179 Mon Sep 17 00:00:00 2001 From: Michael Ingold Date: Sun, 6 Oct 2024 12:18:39 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- test/combinations.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/combinations.jl b/test/combinations.jl index 3d4d9d5..ada751c 100644 --- a/test/combinations.jl +++ b/test/combinations.jl @@ -183,13 +183,13 @@ end sol = 4a^3 * (π * a^2 / 4) * u"Ω" @test integral(f, box, GaussLegendre(100))≈sol rtol=1e-6 @test_throws "not supported" integral(f, box, GaussKronrod()) - @test integral(f, box, HAdaptiveCubature(rtol=1e-6))≈sol rtol=1e-6 + @test integral(f, box, HAdaptiveCubature(rtol = 1e-6))≈sol rtol=1e-6 # Vector integrand vsol = fill(sol, 3) @test integral(fv, box, GaussLegendre(100))≈vsol rtol=1e-6 @test_throws "not supported" integral(fv, box, GaussKronrod()) - @test integral(fv, box, HAdaptiveCubature(rtol=1e-6))≈vsol rtol=1e-6 + @test integral(fv, box, HAdaptiveCubature(rtol = 1e-6))≈vsol rtol=1e-6 # Integral aliases @test_throws "not supported" lineintegral(f, box)