chore: fix autofix for goldentests (#921)
* chore: fix autofix for goldentests * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>add-signin-page
parent
8d1303d6e4
commit
4bcc411e07
|
|
@ -3,7 +3,6 @@ use std::path::PathBuf;
|
|||
use assert_json_diff::assert_json_include;
|
||||
use lazy_static::lazy_static;
|
||||
use serde::Deserialize;
|
||||
use serde_json::json;
|
||||
use serde_jsonlines::BufReadExt;
|
||||
use tokio::{
|
||||
process::Command,
|
||||
|
|
@ -84,7 +83,7 @@ async fn golden_test(body: serde_json::Value, expected: serde_json::Value) {
|
|||
.bytes()
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
|
||||
let lines = bytes.json_lines::<ChatCompletionChunk>();
|
||||
let mut actual = "".to_owned();
|
||||
for x in lines {
|
||||
|
|
|
|||
Loading…
Reference in New Issue