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
🧐 Motivation
Most of the tests that should panic and use felt252 for the error message are using a tuple of felt252 instead of a single value, even when there's only one value(e.g. #[should_panic(expected: ('Caller is missing role',))]).
The syntax is cluttered and could be simplified(e.g. #[should_panic(expected:'Caller is missing role')])
The text was updated successfully, but these errors were encountered:
🧐 Motivation
Most of the tests that should panic and use
felt252
for the error message are using a tuple offelt252
instead of a single value, even when there's only one value(e.g.#[should_panic(expected: ('Caller is missing role',))]
).The syntax is cluttered and could be simplified(e.g.
#[should_panic(expected:'Caller is missing role')]
)The text was updated successfully, but these errors were encountered: