Skip to content

Commit 7a35bd3

Browse files
update warn test
1 parent 75d5d1c commit 7a35bd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_scaling.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ io = IOBuffer()
3434
CDM.show(io,"text/plain",v)
3535
@test occursin("Attributes",String(take!(io)))
3636

37-
v = @test_warn "numeric" defVar(ds,"temp2",data,("lon","lat"),attrib = Dict(
38-
"missing_value" => "bad_idea"))
37+
v = @test_logs (:warn,r"numeric") defVar(ds,"temp2",data,("lon","lat"),attrib = Dict("missing_value" => "bad_idea"))
3938

4039
struct MemoryVariable{T,N} <: CDM.AbstractVariable{T,N}
4140
name::String

0 commit comments

Comments
 (0)