Skip to content

Commit 001cc41

Browse files
Adjust tests for current_exceptions to additional output (#836)
1 parent 8819abe commit 001cc41

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/runtests.jl

+4-2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ end
194194
Stacktrace:.*
195195
196196
caused by: UndefVarError: `?__not_a_binding__`? not defined( in `Main`)?
197-
Stacktrace:.*
197+
(Suggestion: check for spelling errors or missing imports.
198+
)?Stacktrace:.*
198199
"""s, sprint(show, excs_with_bts))
199200

200201
# Check that the ExceptionStack without backtraces `show`s correctly:
@@ -211,7 +212,8 @@ end
211212
Stacktrace:.*
212213
213214
caused by: UndefVarError: `?__not_a_binding__`? not defined( in `Main`)?
214-
Stacktrace:.*
215+
(Suggestion: check for spelling errors or missing imports.
216+
)?Stacktrace:.*
215217
"""s, sprint(Base.display_error, excs_with_bts))
216218

217219
# Check that the ExceptionStack without backtraces `display_error`s correctly:

0 commit comments

Comments
 (0)