diff test/Grids/equidistant_grid_test.jl @ 1253:ff8f335c32d1 refactor/grids

Fix indexing with begin and end for EquidistantGrid
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 22 Feb 2023 12:53:16 +0100
parents c150eabaf656
children 1989d432731a
line wrap: on
line diff
--- a/test/Grids/equidistant_grid_test.jl	Wed Feb 22 12:47:08 2023 +0100
+++ b/test/Grids/equidistant_grid_test.jl	Wed Feb 22 12:53:16 2023 +0100
@@ -39,8 +39,8 @@
         @test g[5] == 0.4
         @test g[101] == 10.0
 
-        @test_broken g[begin] == 0.0
-        @test_broken g[end] == 10.0
+        @test g[begin] == 0.0
+        @test g[end] == 10.0
     end
 
     @testset "boundary_identifiers" begin