We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86449f1 commit cb2afc8Copy full SHA for cb2afc8
qlog/src/testing/event_tests.rs
@@ -173,7 +173,7 @@ fn packet_header() {
173
#[test]
174
fn metrics_updated_with_ex_data() {
175
// Test that ex_data fields are flattened into the same object
176
- let mut ex_data = ExData::from([(
+ let ex_data = ExData::from([(
177
"delivery_rate".to_string(),
178
serde_json::json!(DELIVERY_RATE),
179
)]);
@@ -202,7 +202,7 @@ fn metrics_updated_ex_data_collision() {
202
// With serde's preserve_order feature and ex_data at the top of the
203
// struct, standard fields are serialized last and take precedence.
204
205
206
"min_rtt".to_string(),
207
serde_json::json!(COLLISION_VALUE),
208
0 commit comments