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
Adding the #[should_panic] macro, below the #[test] macro, to an existing test causes it to be ignored. Replacing the order, i.e. #[should_panic] followed by #[test] on the next line, seems to work.
This seems to be related to the treesitter query which looks for the #[test] macro on a function. Perhaps it just picks up the first macro defined?
The text was updated successfully, but these errors were encountered:
Adding the
#[should_panic]
macro, below the#[test]
macro, to an existing test causes it to be ignored. Replacing the order, i.e.#[should_panic]
followed by#[test]
on the next line, seems to work.This seems to be related to the treesitter query which looks for the
#[test]
macro on a function. Perhaps it just picks up the first macro defined?The text was updated successfully, but these errors were encountered: