Skip to content

Commit 7244980

Browse files
corrected panic msg
1 parent 9dfa7ed commit 7244980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/numeric.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ fn test_cumprod_nd_none_axis()
158158
}
159159

160160
#[test]
161-
#[should_panic(expected = "index out of bounds")]
161+
#[should_panic(expected = "assertion failed: axis < self.ndim()")]
162162
fn test_cumprod_axis_out_of_bounds()
163163
{
164164
let a = array![[1, 2], [3, 4]];

0 commit comments

Comments
 (0)