To check functions that should panic under certain circumstances, use attribute #[should_panic] . This attribute accepts optional parameter expected = with the ...
確定! 回上一頁