From 28a7c0054aa6bb1727cee6415bd3808ff216233f Mon Sep 17 00:00:00 2001 From: Seth Axen Date: Thu, 5 Sep 2024 23:39:50 +0200 Subject: [PATCH] Update test/namedtuple/productnamedtuple.jl Co-authored-by: David Widmann --- test/namedtuple/productnamedtuple.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/namedtuple/productnamedtuple.jl b/test/namedtuple/productnamedtuple.jl index 294279ec0..2f121fd33 100644 --- a/test/namedtuple/productnamedtuple.jl +++ b/test/namedtuple/productnamedtuple.jl @@ -43,7 +43,7 @@ using Test @testset "show" begin d = ProductNamedTupleDistribution((x=Gamma(1.0, 2.0), y=Normal())) - @test sprint(show, d) == """ + @test repr(d) == """ ProductNamedTupleDistribution{(:x, :y)}( x: Gamma{Float64}(α=1.0, θ=2.0) y: Normal{Float64}(μ=0.0, σ=1.0)