Skip to content

Commit 2cefd58

Browse files
author
Derek
committed
fix: use non-constant float in clippy test
1 parent 3cf241c commit 2cefd58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/transport/vector_compat/convert.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ mod tests {
160160
#[test]
161161
fn convert_float_value() {
162162
let v = event::Value {
163-
kind: Some(event::value::Kind::Float(2.718)),
163+
kind: Some(event::value::Kind::Float(1.234)),
164164
};
165-
assert_eq!(vector_value_to_json(&v), serde_json::json!(2.718));
165+
assert_eq!(vector_value_to_json(&v), serde_json::json!(1.234));
166166
}
167167

168168
#[test]

0 commit comments

Comments
 (0)