Skip to content

Commit 20083b7

Browse files
committed
Fix show test for TypedPolynomials
1 parent 8c47146 commit 20083b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/show.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@test sprint(show, (x*y^2 + x + 1 + y)) == "xy² + x + y + 1"
44
@test sprint(show, (x + 1 + y) / x^2) == "(x + y + 1) / (x²)"
55
@test sprint(show, (x - y - x + y) / (x^2 - x)) == "(0) / (x² - x)"
6-
@test sprint(show, CustomPoly(1 + x)) == "CustomPoly{Int64,DynamicPolynomials.Polynomial{true,Int64}}(x + 1)"
6+
@test sprint(show, CustomPoly(1 + x)) == "CustomPoly{$Int,$(typeof(1 + x))}(x + 1)"
77
# Test taken from TypedPolynomials
88
@test sprint(show, x) == "x"
99
@test sprint(show, x^0) == "1"

0 commit comments

Comments
 (0)