Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed May 29, 2019
1 parent 4b76814 commit 1fed241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/macros.jl
Expand Up @@ -508,11 +508,11 @@ end
) @expression(model, [axes(A)...], x)

@test_macro_throws ErrorException(
"@NLexpression: cannot use splatting operator `...`. in the definition of an index set"
"@NLexpression: cannot use splatting operator `...` in the definition of an index set."
) @NLexpression(model, [axes(A)...], x)

@test_macro_throws ErrorException(
"@NLparameter: cannot use splatting operator `...`. in the definition of an index set"
"@NLparameter: cannot use splatting operator `...` in the definition of an index set."
) @NLparameter(model, p[axes(A)...] == x)
end

Expand Down

0 comments on commit 1fed241

Please sign in to comment.