Skip to content

Commit e708967

Browse files
committed
fix
1 parent 5293914 commit e708967

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/byteview.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ mod tests {
880880
#[test]
881881
fn fuse_empty() {
882882
let bytes = ByteView::fused(&[], &[]);
883-
assert_eq!(&*bytes, []);
883+
assert_eq!(&*bytes, &[] as &[u8]);
884884
}
885885

886886
#[test]
@@ -898,7 +898,7 @@ mod tests {
898898
#[test]
899899
fn empty_slice() {
900900
let bytes = ByteView::with_size_zeroed(0);
901-
assert_eq!(&*bytes, []);
901+
assert_eq!(&*bytes, &[] as &[u8]);
902902
}
903903

904904
#[test]

0 commit comments

Comments
 (0)