Skip to content

Commit a6e70b5

Browse files
committed
Try to fix array TryFrom tests
1 parent 6570e4c commit a6e70b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/tests/array.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn array_try_from() {
3838
let slice: &[u8] = &array[..];
3939

4040
let result = <&Array>::try_from(slice);
41-
assert_eq!(Ok(&array), result);
41+
assert_eq!(&array, result.unwrap());
4242
})+
4343
}
4444
}

0 commit comments

Comments
 (0)