Skip to content

Commit ccbd758

Browse files
committed
Test throws
1 parent 7678c7c commit ccbd758

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/variable_parsing.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,5 @@ a = rename(value(x), :a)
118118
@test getmetadata(p, VariableDefaultValue) == 2
119119
@test !hasmetadata(p, VariableConnectType)
120120
@test getmetadata(p, VariableUnit) == u"m"
121+
122+
@test_throws Any (@macroexpand @parameters p=2 [unit=u"m",abc=2])

0 commit comments

Comments
 (0)