assert_panic_with_error
Fully qualified path: starkware_utils_testing::test_utils::assert_panic_with_error
pub fn assert_panic_with_error<T, +Drop<T>>(
result: Result<T, Array<felt252>>, expected_error: ByteArray,
)
Press ← or → to navigate between chapters
Press ? to show this help
Press Esc to hide this help
Fully qualified path: starkware_utils_testing::test_utils::assert_panic_with_error
pub fn assert_panic_with_error<T, +Drop<T>>(
result: Result<T, Array<felt252>>, expected_error: ByteArray,
)