From 72ea5c8123794ab8ef491fd21269a9b89aef5a34 Mon Sep 17 00:00:00 2001 From: Marek Kaluba Date: Sat, 18 Dec 2021 20:06:24 +0100 Subject: [PATCH] disable test for sprint Automorphism on julia < 1.6 --- test/AutFn.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/AutFn.jl b/test/AutFn.jl index 793b685..47f09e3 100644 --- a/test/AutFn.jl +++ b/test/AutFn.jl @@ -96,7 +96,9 @@ @test evaluate(g*h) == evaluate(h*g) @test (g*h).savedhash == zero(UInt) - @test sprint(show, typeof(g)) == "Automorphism{FreeGroup{Symbol, KnuthBendix.LenLex{Symbol}}, …}" + if VERSION >= v"1.6.0" + @test sprint(show, typeof(g)) == "Automorphism{FreeGroup{Symbol, KnuthBendix.LenLex{Symbol}}, …}" + end a = g*h b = h*g