Skip to content

Commit 98f5246

Browse files
committed
macro helper test
1 parent e40f340 commit 98f5246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/constraints/disjunction.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ function test_macro_helpers()
22
@test DP._esc_non_constant(1) == 1
33
@test DP._get_name(:x) == :x
44
@test DP._get_name("x") == "x"
5+
@test DP._get_name(nothing) == ()
56
@test DP._get_name(Expr(:string,"x")) == Expr(:string,"x")
67
@test DP._name_call("",[]) == ""
78
@test DP._name_call("name",[]) == "name"

0 commit comments

Comments
 (0)