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
The glob!() macro doesn't raise any kind of objection if the glob matches no files; it just runs the closure zero times. This seems unlikely to be intended in test code.
Description
The glob!() macro doesn't raise any kind of objection if the glob matches no files; it just runs the closure zero times. This seems unlikely to be intended in test code.
Reproduction steps
Additional helpful information:
What did you expect
I would expect an assert!() that the glob matched at least one file, to guard against incorrect globs in tests.
The text was updated successfully, but these errors were encountered: