Skip to content

Commit e82e4ca

Browse files
committed
test_warn => test_logs
1 parent 45b2b14 commit e82e4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,14 @@ end
261261
module WarnOnDefaultChangedCheckedModule
262262
using OverflowContexts, Test
263263
@default_unchecked
264-
@test_warn "A previous default was set for this module. Previously defined methods in this module will be recompiled with this new default." @default_checked
264+
@test_logs (:warn, "A previous default was set for this module. Previously defined methods in this module will be recompiled with this new default.") @default_checked
265265
end))
266266

267267
(@__MODULE__).eval(:(
268268
module WarnOnDefaultChangedUncheckedModule
269269
using OverflowContexts, Test
270270
@default_unchecked
271-
@test_warn "A previous default was set for this module. Previously defined methods in this module will be recompiled with this new default." @default_checked
271+
@test_logs (:warn, "A previous default was set for this module. Previously defined methods in this module will be recompiled with this new default.") @default_checked
272272
end))
273273
end
274274

0 commit comments

Comments
 (0)