We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbcb18e commit c8b70d8Copy full SHA for c8b70d8
1 file changed
cli/src/lib.rs
@@ -1105,9 +1105,7 @@ mod tests {
1105
let dir = tempfile::tempdir().unwrap();
1106
let path = dir.path().join("test.json");
1107
let values: Vec<f64> = vec![1.5, 2.75, 3.0, 0.0, -1.25];
1108
- FloatVectorFormat::Json
1109
- .store(&path, &values, None)
1110
- .unwrap();
+ FloatVectorFormat::Json.store(&path, &values, None).unwrap();
1111
let loaded: Vec<f64> = FloatVectorFormat::Json.load(&path).unwrap();
1112
assert_eq!(loaded, values);
1113
}
@@ -1117,9 +1115,7 @@ mod tests {
1117
1115
1118
1116
let path = dir.path().join("test.bin");
1119
1120
- FloatVectorFormat::Java
1121
1122
+ FloatVectorFormat::Java.store(&path, &values, None).unwrap();
1123
let loaded: Vec<f64> = FloatVectorFormat::Java.load(&path).unwrap();
1124
1125
0 commit comments