We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d7b58f commit 2c7ead2Copy full SHA for 2c7ead2
1 file changed
bottlecap/src/otlp/processor.rs
@@ -146,7 +146,8 @@ mod tests {
146
#[test]
147
fn test_split_object_timestamp_reconstructed() {
148
// 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}});
+ let mut value =
150
+ json!({"startTimeUnixNano": {"low": 1_029_784_000_u64, "high": 395_146_000_u64}});
151
normalize_timestamps(&mut value);
152
let expected = (395_146_000_u64 << 32) | 1_029_784_000_u64;
153
assert_eq!(value["startTimeUnixNano"], json!(expected.to_string()));
0 commit comments