From a9736a7738b88a8ecc0cf82480d3fe647b9a97cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20O=27Mara?= Date: Thu, 27 Apr 2023 20:09:23 +1000 Subject: [PATCH] Move struct out of local scope --- test/runtests.jl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index faedda42..2dd48e33 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -85,7 +85,12 @@ function simple_coverage(intervals) return covintervals end - +# Check show of AbstractGenomicInterval{Nothing}. +struct WithoutMetadatata <: GenomicFeatures.AbstractGenomicInterval{Nothing} + groupname::String + first::Int64 + last::Int64 +end @testset "GenomicFeatures" begin @@ -489,12 +494,7 @@ end @testset "Custom Concrete Types" begin - # Check show of AbstractGenomicInterval{Nothing}. - struct WithoutMetadatata <: GenomicFeatures.AbstractGenomicInterval{Nothing} - groupname::String - first::Int64 - last::Int64 - end + buf = IOBuffer()