diff --git a/test/model.jl b/test/model.jl index 2565d1ed..80767b26 100644 --- a/test/model.jl +++ b/test/model.jl @@ -13,8 +13,14 @@ @test model.transformed == deserialized.transformed @test model.untransformed_param_length == deserialized.untransformed_param_length @test model.transformed_param_length == deserialized.transformed_param_length - @test all(model.untransformed_var_lengths[k] == deserialized.untransformed_var_lengths[k] for k in keys(model.untransformed_var_lengths)) - @test all(model.transformed_var_lengths[k] == deserialized.transformed_var_lengths[k] for k in keys(model.transformed_var_lengths)) + @test all( + model.untransformed_var_lengths[k] == deserialized.untransformed_var_lengths[k] + for k in keys(model.untransformed_var_lengths) + ) + @test all( + model.transformed_var_lengths[k] == deserialized.transformed_var_lengths[k] for + k in keys(model.transformed_var_lengths) + ) @test Set(model.parameters) == Set(deserialized.parameters) # skip testing g @test model.model_def === deserialized.model_def