diff --git a/test/constraints/disjunction.jl b/test/constraints/disjunction.jl index 446d209..b181c36 100644 --- a/test/constraints/disjunction.jl +++ b/test/constraints/disjunction.jl @@ -156,6 +156,7 @@ function test_disjunctions_add_success() @test is_valid(model, disj2) @test haskey(DP._disjunctions(model), index(disj1)) @test haskey(DP._disjunctions(model), index(disj2)) + @test name(disj1) == "bob" unamed = @disjunctions(model, begin y