Skip to content

Commit 2c7ead2

Browse files
committed
style: cargo fmt
1 parent 4d7b58f commit 2c7ead2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bottlecap/src/otlp/processor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ mod tests {
146146
#[test]
147147
fn test_split_object_timestamp_reconstructed() {
148148
// Some old JS SDKs send 64-bit ints as {"low": u32, "high": u32}
149-
let mut value = json!({"startTimeUnixNano": {"low": 1_029_784_000_u64, "high": 395_146_000_u64}});
149+
let mut value =
150+
json!({"startTimeUnixNano": {"low": 1_029_784_000_u64, "high": 395_146_000_u64}});
150151
normalize_timestamps(&mut value);
151152
let expected = (395_146_000_u64 << 32) | 1_029_784_000_u64;
152153
assert_eq!(value["startTimeUnixNano"], json!(expected.to_string()));

0 commit comments

Comments
 (0)