Skip to content

Commit 1189564

Browse files
committed
Fix tests
1 parent 4326213 commit 1189564

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/code.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Test, SymbolicUtils
2+
using NaNMath
23
using SymbolicUtils.Code
34
using SymbolicUtils.Code: LazyState
45
using StaticArrays
@@ -84,10 +85,10 @@ test_repr(a, b) = @test repr(Base.remove_linenums!(a)) == repr(Base.remove_linen
8485
@test toexpr(SetArray(true, a, [x(t), AtIndex(9, b), c])).head == :macrocall
8586

8687
test_repr(toexpr(LiteralExpr(:(let x=1, y=2
87-
$(sin(a+b))
88+
$(NaNMath.sin(a+b))
8889
end))),
8990
:(let x = 1, y = 2
90-
$(sin)($(+)(a, b))
91+
$(NaNMath.sin)($(+)(a, b))
9192
end))
9293

9394
test_repr(toexpr(MakeArray([a,b,a+b], :arr)),

0 commit comments

Comments
 (0)