fix: Add missing benchmark field and fix approx_constant warning
- Add benchmark: false to ScanArgs in stemedb-api handler - Change test float from 3.14 to 7.25 to avoid clippy approx_constant Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8af9b48ac7
commit
f2ffb63f79
@ -341,7 +341,7 @@ mod tests {
|
||||
assert_eq!(OverrideValue::parse("-10"), OverrideValue::Integer(-10));
|
||||
|
||||
// Float parsing
|
||||
assert_eq!(OverrideValue::parse("3.14"), OverrideValue::Number(3.14_f64));
|
||||
assert_eq!(OverrideValue::parse("7.25"), OverrideValue::Number(7.25));
|
||||
|
||||
// Text fallback
|
||||
assert_eq!(OverrideValue::parse("hello"), OverrideValue::Text("hello".to_string()));
|
||||
|
||||
@ -56,6 +56,7 @@ pub async fn scan(Json(req): Json<ScanRequest>) -> Result<(StatusCode, Json<Scan
|
||||
debug: req.debug,
|
||||
sync: false,
|
||||
file_source: aphoria::FileSource::All,
|
||||
benchmark: false,
|
||||
};
|
||||
|
||||
// Execute scan
|
||||
|
||||
Loading…
Reference in New Issue
Block a user