Skip to content

Commit

Permalink
One more test to fail at compile time"
Browse files Browse the repository at this point in the history
  • Loading branch information
joehuchette committed Jun 1, 2016
1 parent e84b615 commit 999cf56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sdp.jl
Expand Up @@ -135,7 +135,7 @@ facts("[sdp] Nonsensical SDPs") do
@fact macroexpand(:(@variable(m, -ones(3,4) <= foo[1:4,1:4] <= ones(4,4), SDP))).head --> :error
@fact macroexpand(:(@variable(m, -ones(3,4) <= foo[1:4,1:4] <= ones(4,4), Symmetric))).head --> :error
@fact macroexpand(:(@variable(m, -ones(4,4) <= foo[1:4,1:4] <= ones(4,5), Symmetric))).head --> :error
@fact_throws @variable(m, -rand(5,5) <= nonsymmetric[1:5,1:5] <= rand(5,5), Symmetric)
@fact macroexpand(:(@variable(m, -rand(5,5) <= nonsymmetric[1:5,1:5] <= rand(5,5), Symmetric))).head --> :error
end

facts("[sdp] SDP with quadratics") do
Expand Down

0 comments on commit 999cf56

Please sign in to comment.