Skip to content

Commit e16109b

Browse files
committed
Update tests
1 parent cdd0216 commit e16109b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/basics.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ end
228228
# test that maketerm sets metadata correctly
229229
metadata = Base.ImmutableDict{DataType, Any}(Ctx1, "meta_1")
230230
s = SymbolicUtils.maketerm(typeof(a^b), ^, [a * b, 3], Number, metadata)
231+
@test !hasmetadata(s, Ctx1)
232+
233+
s = SymbolicUtils.maketerm(typeof(a^b), *, [a * b, 3], Number, metadata)
231234
@test hasmetadata(s, Ctx1)
232235
@test getmetadata(s, Ctx1) == "meta_1"
233236
end

0 commit comments

Comments
 (0)