Skip to content

Commit 97ddc7a

Browse files
Adding test to ensure DomainError is thrown during substitution involving infinities
1 parent 379844b commit 97ddc7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,3 +245,4 @@ end
245245
@test_throws DomainError exp(zoo)
246246
@test_throws DomainError sin(zoo)
247247
@test_throws DomainError sin(oo)
248+
@test_throws DomainError subs(sin(log(y - y/x)), x => 1)

0 commit comments

Comments
 (0)