diff --git a/julia/test/util_tests.jl b/julia/test/util_tests.jl index 0828231b..5987065f 100644 --- a/julia/test/util_tests.jl +++ b/julia/test/util_tests.jl @@ -1,31 +1,6 @@ using BridgeStan -using BridgeStan: @const using Test -mutable struct Foo - x::Any - @const y -end - -@testset "@const utility" begin - a = Foo(1, 2) - @test a.x == 1 - @test a.y == 2 - a.x = 3 - @test a.x == 3 - @test a.y == 2 - if VERSION ≥ v"1.8" - # y is const - @test_throws ErrorException a.y = 4 - else - # y is mutable - a.y = 4 - @test a.y == 4 - end -end - - - @testset "download" begin withenv("BRIDGESTAN" => nothing) do existing = BridgeStan.get_bridgestan_path(download = false)