We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267be45 commit 18a75d0Copy full SHA for 18a75d0
1 file changed
test/named_array_partition_tests.jl
@@ -18,7 +18,9 @@ using RecursiveArrayTools, Test
18
19
x = NamedArrayPartition(a = ones(1), b = 2*ones(1))
20
@test Base.summary(x) == string(typeof(x), " with arrays:")
21
- @test (@capture_out Base.show(stdout, MIME"text/plain"(), x)) == "(a = [1.0], b = [2.0])"
+ io = IOBuffer()
22
+ Base.show(io, MIME"text/plain"(), x)
23
+ @test String(take!(io)) == "(a = [1.0], b = [2.0])"
24
25
using StructArrays
26
using StaticArrays: SVector
0 commit comments