Skip to content

Commit db2077e

Browse files
Fix current_exceptions test on nightly (#810)
The printing of the `UndefVarError` now includes the originating module.
1 parent d687917 commit db2077e

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
@@ -192,7 +192,7 @@ end
192192
DivideError: integer division error
193193
Stacktrace:.*
194194
195-
caused by: UndefVarError: `?__not_a_binding__`? not defined
195+
caused by: UndefVarError: `?__not_a_binding__`? not defined( in `Main`)?
196196
Stacktrace:.*
197197
"""s, sprint(show, excs_with_bts))
198198

@@ -209,7 +209,7 @@ end
209209
ERROR: DivideError: integer division error
210210
Stacktrace:.*
211211
212-
caused by: UndefVarError: `?__not_a_binding__`? not defined
212+
caused by: UndefVarError: `?__not_a_binding__`? not defined( in `Main`)?
213213
Stacktrace:.*
214214
"""s, sprint(Base.display_error, excs_with_bts))
215215

0 commit comments

Comments
 (0)