Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
robert3005 committed Aug 22, 2024
1 parent 6107308 commit 8bc81fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vortex-scalar/src/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Display for Scalar {
write!(
f,
"{}",
buf.as_slice().iter().map(|b| format!("{b:?}")).format(",")
buf.as_slice().iter().map(|b| format!("{b:x}")).format(",")
)
}
}
Expand Down Expand Up @@ -105,7 +105,7 @@ mod tests {
"{}",
Scalar::binary(Buffer::from("Hello World!".as_bytes()), NonNullable)
),
"48656c6c6f20576f726c6421"
"48,65,6c,6c,6f,20,57,6f,72,6c,64,21"
);
assert_eq!(format!("{}", Scalar::null(DType::Binary(Nullable))), "null");
}
Expand Down

0 comments on commit 8bc81fc

Please sign in to comment.