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
by using doctest(MyPackage)
(essentially I am trying to build a regex to catch whenever the code error, or not, and this is some of the early stages with trying to figure out regexes for the doctests)
My hope is that this regex will just accept anything. However, it doesn't seem to be able to match an error. This yields a crash:
Basically, the evaluated output of the error seem to be nothing at all. Which doesn't match to the regex? I get similar problem (but with different expected output) if I try some non-empty expected output:
Slight continuation from: #1679, but I think the issue is different, so opened a new issue.
Basically, I want to test this code, which yields an error message:
by using
doctest(MyPackage)
(essentially I am trying to build a regex to catch whenever the code error, or not, and this is some of the early stages with trying to figure out regexes for the doctests)
My hope is that this regex will just accept anything. However, it doesn't seem to be able to match an error. This yields a crash:
Basically, the evaluated output of the error seem to be nothing at all. Which doesn't match to the regex? I get similar problem (but with different expected output) if I try some non-empty expected output:
(just something random, which is not correct)
(the error message which the code produces)
The text was updated successfully, but these errors were encountered: