You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/runtests.jl
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -261,14 +261,14 @@ end
261
261
module WarnOnDefaultChangedCheckedModule
262
262
using OverflowContexts, Test
263
263
@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
265
265
end))
266
266
267
267
(@__MODULE__).eval(:(
268
268
module WarnOnDefaultChangedUncheckedModule
269
269
using OverflowContexts, Test
270
270
@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
0 commit comments