From 588ba2319ba4acbb7616f9b5d3cb784232be8e30 Mon Sep 17 00:00:00 2001 From: Cora Kingdon Date: Wed, 26 Feb 2020 09:34:25 -0500 Subject: [PATCH] remove duplicate test --- test/runtests.jl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index dc573446..fc927de9 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -13,16 +13,10 @@ using Query @testset "fund-model" begin -#default model exported by fund module -default_nsteps = 1050 -m = MimiFUND.get_model() -run(m) -@test Mimi.time_labels(m) == collect(1950:1:1950+default_nsteps) - #default model created by MimiFUND.get_model() m1 = MimiFUND.get_model() run(m1) -@test Mimi.time_labels(m1) == collect(1950:1:1950+default_nsteps) +@test Mimi.time_labels(m1) == collect(1950:3000) # use optional `nsteps` arg for MimiFUND.get_model() @test_throws ErrorException m2 = MimiFUND.get_model(nsteps = 2000) # should error because it's longer than the default without providing different parameters