Skip to content

Commit

Permalink
Move struct out of local scope
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranOMara committed Apr 27, 2023
1 parent a270ddc commit a9736a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit a9736a7

Please sign in to comment.