Skip to content

Commit

Permalink
Fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Apr 18, 2024
1 parent c8e78c9 commit abd59e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/PrettyPrinting-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -342,13 +342,13 @@ end
end

function Base.show(io::IO, R::NewRing)
if is_terse(io)
if PrettyPrinting.is_terse(io)
# no nested printing
print(io, "supercompact printing of newring ")
else
# nested printing allowed, preferably supercompact
print(io, "one line printing of newring with ")
print(terse(io), "supercompact ", base_ring(R))
print(PrettyPrinting.terse(io), "supercompact ", base_ring(R))
end
end

Expand Down

0 comments on commit abd59e3

Please sign in to comment.