Skip to content

Commit 10526e1

Browse files
committed
fix factorial test
1 parent c531ee0 commit 10526e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MathML"
22
uuid = "abcecc63-2b08-419c-80c4-c63dca6fa478"
33
authors = ["anand <[email protected]> and contributors"]
4-
version = "0.1.6"
4+
version = "0.1.7"
55

66
[deps]
77
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"

test/parse.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ str = """
105105

106106
# factorial
107107
str = "<apply><factorial/><ci>x</ci></apply>"
108-
@test isequal(MathML.parse_str(str), SpecialFunctions.gamma(1 + x))
108+
@test isequal(MathML.parse_str(str), factorial(x))
109109

110110
str = "<apply><factorial/><cn>5</cn></apply>"
111111
@test MathML.parse_str(str) == 120

0 commit comments

Comments
 (0)